Struct aws_sdk_qconnect::operation::get_knowledge_base::builders::GetKnowledgeBaseOutputBuilder
source · #[non_exhaustive]pub struct GetKnowledgeBaseOutputBuilder { /* private fields */ }Expand description
A builder for GetKnowledgeBaseOutput.
Implementations§
source§impl GetKnowledgeBaseOutputBuilder
impl GetKnowledgeBaseOutputBuilder
sourcepub fn knowledge_base(self, input: KnowledgeBaseData) -> Self
pub fn knowledge_base(self, input: KnowledgeBaseData) -> Self
The knowledge base.
sourcepub fn set_knowledge_base(self, input: Option<KnowledgeBaseData>) -> Self
pub fn set_knowledge_base(self, input: Option<KnowledgeBaseData>) -> Self
The knowledge base.
sourcepub fn get_knowledge_base(&self) -> &Option<KnowledgeBaseData>
pub fn get_knowledge_base(&self) -> &Option<KnowledgeBaseData>
The knowledge base.
sourcepub fn build(self) -> GetKnowledgeBaseOutput
pub fn build(self) -> GetKnowledgeBaseOutput
Consumes the builder and constructs a GetKnowledgeBaseOutput.
Trait Implementations§
source§impl Clone for GetKnowledgeBaseOutputBuilder
impl Clone for GetKnowledgeBaseOutputBuilder
source§fn clone(&self) -> GetKnowledgeBaseOutputBuilder
fn clone(&self) -> GetKnowledgeBaseOutputBuilder
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 GetKnowledgeBaseOutputBuilder
impl Default for GetKnowledgeBaseOutputBuilder
source§fn default() -> GetKnowledgeBaseOutputBuilder
fn default() -> GetKnowledgeBaseOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetKnowledgeBaseOutputBuilder
impl PartialEq for GetKnowledgeBaseOutputBuilder
source§fn eq(&self, other: &GetKnowledgeBaseOutputBuilder) -> bool
fn eq(&self, other: &GetKnowledgeBaseOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetKnowledgeBaseOutputBuilder
Auto Trait Implementations§
impl Freeze for GetKnowledgeBaseOutputBuilder
impl RefUnwindSafe for GetKnowledgeBaseOutputBuilder
impl Send for GetKnowledgeBaseOutputBuilder
impl Sync for GetKnowledgeBaseOutputBuilder
impl Unpin for GetKnowledgeBaseOutputBuilder
impl UnwindSafe for GetKnowledgeBaseOutputBuilder
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.