Struct aws_sdk_wisdom::operation::create_knowledge_base::builders::CreateKnowledgeBaseOutputBuilder
source · #[non_exhaustive]pub struct CreateKnowledgeBaseOutputBuilder { /* private fields */ }
Expand description
A builder for CreateKnowledgeBaseOutput
.
Implementations§
source§impl CreateKnowledgeBaseOutputBuilder
impl CreateKnowledgeBaseOutputBuilder
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) -> CreateKnowledgeBaseOutput
pub fn build(self) -> CreateKnowledgeBaseOutput
Consumes the builder and constructs a CreateKnowledgeBaseOutput
.
Trait Implementations§
source§impl Clone for CreateKnowledgeBaseOutputBuilder
impl Clone for CreateKnowledgeBaseOutputBuilder
source§fn clone(&self) -> CreateKnowledgeBaseOutputBuilder
fn clone(&self) -> CreateKnowledgeBaseOutputBuilder
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 CreateKnowledgeBaseOutputBuilder
impl Default for CreateKnowledgeBaseOutputBuilder
source§fn default() -> CreateKnowledgeBaseOutputBuilder
fn default() -> CreateKnowledgeBaseOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateKnowledgeBaseOutputBuilder
impl PartialEq for CreateKnowledgeBaseOutputBuilder
source§fn eq(&self, other: &CreateKnowledgeBaseOutputBuilder) -> bool
fn eq(&self, other: &CreateKnowledgeBaseOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateKnowledgeBaseOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateKnowledgeBaseOutputBuilder
impl RefUnwindSafe for CreateKnowledgeBaseOutputBuilder
impl Send for CreateKnowledgeBaseOutputBuilder
impl Sync for CreateKnowledgeBaseOutputBuilder
impl Unpin for CreateKnowledgeBaseOutputBuilder
impl UnwindSafe for CreateKnowledgeBaseOutputBuilder
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.