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 ==.