Struct aws_sdk_lexmodelsv2::operation::list_bot_resource_generations::builders::ListBotResourceGenerationsOutputBuilder
source · #[non_exhaustive]pub struct ListBotResourceGenerationsOutputBuilder { /* private fields */ }Expand description
A builder for ListBotResourceGenerationsOutput.
Implementations§
source§impl ListBotResourceGenerationsOutputBuilder
impl ListBotResourceGenerationsOutputBuilder
sourcepub fn bot_id(self, input: impl Into<String>) -> Self
pub fn bot_id(self, input: impl Into<String>) -> Self
The unique identifier of the bot for which the generation requests were made.
sourcepub fn set_bot_id(self, input: Option<String>) -> Self
pub fn set_bot_id(self, input: Option<String>) -> Self
The unique identifier of the bot for which the generation requests were made.
sourcepub fn get_bot_id(&self) -> &Option<String>
pub fn get_bot_id(&self) -> &Option<String>
The unique identifier of the bot for which the generation requests were made.
sourcepub fn bot_version(self, input: impl Into<String>) -> Self
pub fn bot_version(self, input: impl Into<String>) -> Self
The version of the bot for which the generation requests were made.
sourcepub fn set_bot_version(self, input: Option<String>) -> Self
pub fn set_bot_version(self, input: Option<String>) -> Self
The version of the bot for which the generation requests were made.
sourcepub fn get_bot_version(&self) -> &Option<String>
pub fn get_bot_version(&self) -> &Option<String>
The version of the bot for which the generation requests were made.
sourcepub fn locale_id(self, input: impl Into<String>) -> Self
pub fn locale_id(self, input: impl Into<String>) -> Self
The locale of the bot for which the generation requests were made.
sourcepub fn set_locale_id(self, input: Option<String>) -> Self
pub fn set_locale_id(self, input: Option<String>) -> Self
The locale of the bot for which the generation requests were made.
sourcepub fn get_locale_id(&self) -> &Option<String>
pub fn get_locale_id(&self) -> &Option<String>
The locale of the bot for which the generation requests were made.
sourcepub fn generation_summaries(self, input: GenerationSummary) -> Self
pub fn generation_summaries(self, input: GenerationSummary) -> Self
Appends an item to generation_summaries.
To override the contents of this collection use set_generation_summaries.
A list of objects, each containing information about a generation request for the bot locale.
sourcepub fn set_generation_summaries(
self,
input: Option<Vec<GenerationSummary>>,
) -> Self
pub fn set_generation_summaries( self, input: Option<Vec<GenerationSummary>>, ) -> Self
A list of objects, each containing information about a generation request for the bot locale.
sourcepub fn get_generation_summaries(&self) -> &Option<Vec<GenerationSummary>>
pub fn get_generation_summaries(&self) -> &Option<Vec<GenerationSummary>>
A list of objects, each containing information about a generation request for the bot locale.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If the total number of results is greater than the number specified in the maxResults, the response returns a token in the nextToken field. Use this token when making a request to return the next batch of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If the total number of results is greater than the number specified in the maxResults, the response returns a token in the nextToken field. Use this token when making a request to return the next batch of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If the total number of results is greater than the number specified in the maxResults, the response returns a token in the nextToken field. Use this token when making a request to return the next batch of results.
sourcepub fn build(self) -> ListBotResourceGenerationsOutput
pub fn build(self) -> ListBotResourceGenerationsOutput
Consumes the builder and constructs a ListBotResourceGenerationsOutput.
Trait Implementations§
source§impl Clone for ListBotResourceGenerationsOutputBuilder
impl Clone for ListBotResourceGenerationsOutputBuilder
source§fn clone(&self) -> ListBotResourceGenerationsOutputBuilder
fn clone(&self) -> ListBotResourceGenerationsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ListBotResourceGenerationsOutputBuilder
impl Default for ListBotResourceGenerationsOutputBuilder
source§fn default() -> ListBotResourceGenerationsOutputBuilder
fn default() -> ListBotResourceGenerationsOutputBuilder
source§impl PartialEq for ListBotResourceGenerationsOutputBuilder
impl PartialEq for ListBotResourceGenerationsOutputBuilder
source§fn eq(&self, other: &ListBotResourceGenerationsOutputBuilder) -> bool
fn eq(&self, other: &ListBotResourceGenerationsOutputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ListBotResourceGenerationsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListBotResourceGenerationsOutputBuilder
impl RefUnwindSafe for ListBotResourceGenerationsOutputBuilder
impl Send for ListBotResourceGenerationsOutputBuilder
impl Sync for ListBotResourceGenerationsOutputBuilder
impl Unpin for ListBotResourceGenerationsOutputBuilder
impl UnwindSafe for ListBotResourceGenerationsOutputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
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>
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 more