Struct aws_sdk_bedrockagent::operation::update_knowledge_base::builders::UpdateKnowledgeBaseOutputBuilder
source · #[non_exhaustive]pub struct UpdateKnowledgeBaseOutputBuilder { /* private fields */ }Expand description
A builder for UpdateKnowledgeBaseOutput.
Implementations§
source§impl UpdateKnowledgeBaseOutputBuilder
impl UpdateKnowledgeBaseOutputBuilder
sourcepub fn knowledge_base(self, input: KnowledgeBase) -> Self
pub fn knowledge_base(self, input: KnowledgeBase) -> Self
Contains the information of a knowledge base. This field is required.
sourcepub fn set_knowledge_base(self, input: Option<KnowledgeBase>) -> Self
pub fn set_knowledge_base(self, input: Option<KnowledgeBase>) -> Self
Contains the information of a knowledge base.
sourcepub fn get_knowledge_base(&self) -> &Option<KnowledgeBase>
pub fn get_knowledge_base(&self) -> &Option<KnowledgeBase>
Contains the information of a knowledge base.
sourcepub fn build(self) -> UpdateKnowledgeBaseOutput
pub fn build(self) -> UpdateKnowledgeBaseOutput
Consumes the builder and constructs a UpdateKnowledgeBaseOutput.
Trait Implementations§
source§impl Clone for UpdateKnowledgeBaseOutputBuilder
impl Clone for UpdateKnowledgeBaseOutputBuilder
source§fn clone(&self) -> UpdateKnowledgeBaseOutputBuilder
fn clone(&self) -> UpdateKnowledgeBaseOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for UpdateKnowledgeBaseOutputBuilder
impl Default for UpdateKnowledgeBaseOutputBuilder
source§fn default() -> UpdateKnowledgeBaseOutputBuilder
fn default() -> UpdateKnowledgeBaseOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateKnowledgeBaseOutputBuilder
impl PartialEq for UpdateKnowledgeBaseOutputBuilder
source§fn eq(&self, other: &UpdateKnowledgeBaseOutputBuilder) -> bool
fn eq(&self, other: &UpdateKnowledgeBaseOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateKnowledgeBaseOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for UpdateKnowledgeBaseOutputBuilder
impl Send for UpdateKnowledgeBaseOutputBuilder
impl Sync for UpdateKnowledgeBaseOutputBuilder
impl Unpin for UpdateKnowledgeBaseOutputBuilder
impl UnwindSafe for UpdateKnowledgeBaseOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.