Struct aws_sdk_lexmodelsv2::operation::describe_bot_resource_generation::builders::DescribeBotResourceGenerationFluentBuilder
source · pub struct DescribeBotResourceGenerationFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to DescribeBotResourceGeneration.
Returns information about a request to generate a bot through natural language description, made through the StartBotResource API. Use the generatedBotLocaleUrl to retrieve the Amazon S3 object containing the bot locale configuration. You can then modify and import this configuration.
Implementations§
source§impl DescribeBotResourceGenerationFluentBuilder
impl DescribeBotResourceGenerationFluentBuilder
sourcepub fn as_input(&self) -> &DescribeBotResourceGenerationInputBuilder
pub fn as_input(&self) -> &DescribeBotResourceGenerationInputBuilder
Access the DescribeBotResourceGeneration as a reference.
sourcepub async fn send(
self
) -> Result<DescribeBotResourceGenerationOutput, SdkError<DescribeBotResourceGenerationError, HttpResponse>>
pub async fn send( self ) -> Result<DescribeBotResourceGenerationOutput, SdkError<DescribeBotResourceGenerationError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<DescribeBotResourceGenerationOutput, DescribeBotResourceGenerationError, Self>
pub fn customize( self ) -> CustomizableOperation<DescribeBotResourceGenerationOutput, DescribeBotResourceGenerationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 to return the generation details.
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 to return the generation details.
sourcepub fn get_bot_id(&self) -> &Option<String>
pub fn get_bot_id(&self) -> &Option<String>
The unique identifier of the bot for which to return the generation details.
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 to return the generation details.
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 to return the generation details.
sourcepub fn get_bot_version(&self) -> &Option<String>
pub fn get_bot_version(&self) -> &Option<String>
The version of the bot for which to return the generation details.
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 to return the generation details.
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 to return the generation details.
sourcepub fn get_locale_id(&self) -> &Option<String>
pub fn get_locale_id(&self) -> &Option<String>
The locale of the bot for which to return the generation details.
sourcepub fn generation_id(self, input: impl Into<String>) -> Self
pub fn generation_id(self, input: impl Into<String>) -> Self
The unique identifier of the generation request 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 unique identifier of the generation request for which to return the generation details.
sourcepub fn get_generation_id(&self) -> &Option<String>
pub fn get_generation_id(&self) -> &Option<String>
The unique identifier of the generation request for which to return the generation details.
Trait Implementations§
source§impl Clone for DescribeBotResourceGenerationFluentBuilder
impl Clone for DescribeBotResourceGenerationFluentBuilder
source§fn clone(&self) -> DescribeBotResourceGenerationFluentBuilder
fn clone(&self) -> DescribeBotResourceGenerationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more