Struct aws_sdk_lexmodelsv2::operation::describe_bot_resource_generation::builders::DescribeBotResourceGenerationOutputBuilder
source · #[non_exhaustive]pub struct DescribeBotResourceGenerationOutputBuilder { /* private fields */ }Expand description
A builder for DescribeBotResourceGenerationOutput.
Implementations§
source§impl DescribeBotResourceGenerationOutputBuilder
impl DescribeBotResourceGenerationOutputBuilder
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 request was 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 request was 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 request was 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 request was 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 request was 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 request was 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 request was 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 request was 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 request was made.
sourcepub fn generation_id(self, input: impl Into<String>) -> Self
pub fn generation_id(self, input: impl Into<String>) -> Self
The generation ID for which to return the generation details.
sourcepub fn set_generation_id(self, input: Option<String>) -> Self
pub fn set_generation_id(self, input: Option<String>) -> Self
The generation ID for which to return the generation details.
sourcepub fn get_generation_id(&self) -> &Option<String>
pub fn get_generation_id(&self) -> &Option<String>
The generation ID for which to return the generation details.
sourcepub fn failure_reasons(self, input: impl Into<String>) -> Self
pub fn failure_reasons(self, input: impl Into<String>) -> Self
Appends an item to failure_reasons.
To override the contents of this collection use set_failure_reasons.
A list of reasons why the generation of bot resources through natural language description failed.
sourcepub fn set_failure_reasons(self, input: Option<Vec<String>>) -> Self
pub fn set_failure_reasons(self, input: Option<Vec<String>>) -> Self
A list of reasons why the generation of bot resources through natural language description failed.
sourcepub fn get_failure_reasons(&self) -> &Option<Vec<String>>
pub fn get_failure_reasons(&self) -> &Option<Vec<String>>
A list of reasons why the generation of bot resources through natural language description failed.
sourcepub fn generation_status(self, input: GenerationStatus) -> Self
pub fn generation_status(self, input: GenerationStatus) -> Self
The status of the generation request.
sourcepub fn set_generation_status(self, input: Option<GenerationStatus>) -> Self
pub fn set_generation_status(self, input: Option<GenerationStatus>) -> Self
The status of the generation request.
sourcepub fn get_generation_status(&self) -> &Option<GenerationStatus>
pub fn get_generation_status(&self) -> &Option<GenerationStatus>
The status of the generation request.
sourcepub fn generation_input_prompt(self, input: impl Into<String>) -> Self
pub fn generation_input_prompt(self, input: impl Into<String>) -> Self
The prompt used in the generation request.
sourcepub fn set_generation_input_prompt(self, input: Option<String>) -> Self
pub fn set_generation_input_prompt(self, input: Option<String>) -> Self
The prompt used in the generation request.
sourcepub fn get_generation_input_prompt(&self) -> &Option<String>
pub fn get_generation_input_prompt(&self) -> &Option<String>
The prompt used in the generation request.
sourcepub fn generated_bot_locale_url(self, input: impl Into<String>) -> Self
pub fn generated_bot_locale_url(self, input: impl Into<String>) -> Self
The Amazon S3 location of the generated bot locale configuration.
sourcepub fn set_generated_bot_locale_url(self, input: Option<String>) -> Self
pub fn set_generated_bot_locale_url(self, input: Option<String>) -> Self
The Amazon S3 location of the generated bot locale configuration.
sourcepub fn get_generated_bot_locale_url(&self) -> &Option<String>
pub fn get_generated_bot_locale_url(&self) -> &Option<String>
The Amazon S3 location of the generated bot locale configuration.
sourcepub fn creation_date_time(self, input: DateTime) -> Self
pub fn creation_date_time(self, input: DateTime) -> Self
The date and time at which the item was generated.
sourcepub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
The date and time at which the item was generated.
sourcepub fn get_creation_date_time(&self) -> &Option<DateTime>
pub fn get_creation_date_time(&self) -> &Option<DateTime>
The date and time at which the item was generated.
sourcepub fn model_arn(self, input: impl Into<String>) -> Self
pub fn model_arn(self, input: impl Into<String>) -> Self
The ARN of the model used to generate the bot resources.
sourcepub fn set_model_arn(self, input: Option<String>) -> Self
pub fn set_model_arn(self, input: Option<String>) -> Self
The ARN of the model used to generate the bot resources.
sourcepub fn get_model_arn(&self) -> &Option<String>
pub fn get_model_arn(&self) -> &Option<String>
The ARN of the model used to generate the bot resources.
sourcepub fn last_updated_date_time(self, input: DateTime) -> Self
pub fn last_updated_date_time(self, input: DateTime) -> Self
The date and time at which the generated item was updated.
sourcepub fn set_last_updated_date_time(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_date_time(self, input: Option<DateTime>) -> Self
The date and time at which the generated item was updated.
sourcepub fn get_last_updated_date_time(&self) -> &Option<DateTime>
pub fn get_last_updated_date_time(&self) -> &Option<DateTime>
The date and time at which the generated item was updated.
sourcepub fn build(self) -> DescribeBotResourceGenerationOutput
pub fn build(self) -> DescribeBotResourceGenerationOutput
Consumes the builder and constructs a DescribeBotResourceGenerationOutput.
Trait Implementations§
source§impl Clone for DescribeBotResourceGenerationOutputBuilder
impl Clone for DescribeBotResourceGenerationOutputBuilder
source§fn clone(&self) -> DescribeBotResourceGenerationOutputBuilder
fn clone(&self) -> DescribeBotResourceGenerationOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DescribeBotResourceGenerationOutputBuilder
impl Default for DescribeBotResourceGenerationOutputBuilder
source§fn default() -> DescribeBotResourceGenerationOutputBuilder
fn default() -> DescribeBotResourceGenerationOutputBuilder
source§impl PartialEq for DescribeBotResourceGenerationOutputBuilder
impl PartialEq for DescribeBotResourceGenerationOutputBuilder
source§fn eq(&self, other: &DescribeBotResourceGenerationOutputBuilder) -> bool
fn eq(&self, other: &DescribeBotResourceGenerationOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.