Struct aws_sdk_qconnect::operation::list_knowledge_bases::builders::ListKnowledgeBasesOutputBuilder
source · #[non_exhaustive]pub struct ListKnowledgeBasesOutputBuilder { /* private fields */ }Expand description
A builder for ListKnowledgeBasesOutput.
Implementations§
source§impl ListKnowledgeBasesOutputBuilder
impl ListKnowledgeBasesOutputBuilder
sourcepub fn knowledge_base_summaries(self, input: KnowledgeBaseSummary) -> Self
pub fn knowledge_base_summaries(self, input: KnowledgeBaseSummary) -> Self
Appends an item to knowledge_base_summaries.
To override the contents of this collection use set_knowledge_base_summaries.
Information about the knowledge bases.
sourcepub fn set_knowledge_base_summaries(
self,
input: Option<Vec<KnowledgeBaseSummary>>
) -> Self
pub fn set_knowledge_base_summaries( self, input: Option<Vec<KnowledgeBaseSummary>> ) -> Self
Information about the knowledge bases.
sourcepub fn get_knowledge_base_summaries(&self) -> &Option<Vec<KnowledgeBaseSummary>>
pub fn get_knowledge_base_summaries(&self) -> &Option<Vec<KnowledgeBaseSummary>>
Information about the knowledge bases.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If there are additional results, this is the token for the next set of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If there are additional results, this is the token for the next set of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If there are additional results, this is the token for the next set of results.
sourcepub fn build(self) -> Result<ListKnowledgeBasesOutput, BuildError>
pub fn build(self) -> Result<ListKnowledgeBasesOutput, BuildError>
Consumes the builder and constructs a ListKnowledgeBasesOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListKnowledgeBasesOutputBuilder
impl Clone for ListKnowledgeBasesOutputBuilder
source§fn clone(&self) -> ListKnowledgeBasesOutputBuilder
fn clone(&self) -> ListKnowledgeBasesOutputBuilder
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 ListKnowledgeBasesOutputBuilder
impl Default for ListKnowledgeBasesOutputBuilder
source§fn default() -> ListKnowledgeBasesOutputBuilder
fn default() -> ListKnowledgeBasesOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListKnowledgeBasesOutputBuilder
impl PartialEq for ListKnowledgeBasesOutputBuilder
source§fn eq(&self, other: &ListKnowledgeBasesOutputBuilder) -> bool
fn eq(&self, other: &ListKnowledgeBasesOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ListKnowledgeBasesOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ListKnowledgeBasesOutputBuilder
impl Send for ListKnowledgeBasesOutputBuilder
impl Sync for ListKnowledgeBasesOutputBuilder
impl Unpin for ListKnowledgeBasesOutputBuilder
impl UnwindSafe for ListKnowledgeBasesOutputBuilder
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.