Struct aws_sdk_lexmodelsv2::operation::list_bot_resource_generations::builders::ListBotResourceGenerationsFluentBuilder
source · pub struct ListBotResourceGenerationsFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to ListBotResourceGenerations.
Lists the generation requests made for a bot locale.
Implementations§
source§impl ListBotResourceGenerationsFluentBuilder
impl ListBotResourceGenerationsFluentBuilder
sourcepub fn as_input(&self) -> &ListBotResourceGenerationsInputBuilder
pub fn as_input(&self) -> &ListBotResourceGenerationsInputBuilder
Access the ListBotResourceGenerations as a reference.
sourcepub async fn send(
self
) -> Result<ListBotResourceGenerationsOutput, SdkError<ListBotResourceGenerationsError, HttpResponse>>
pub async fn send( self ) -> Result<ListBotResourceGenerationsOutput, SdkError<ListBotResourceGenerationsError, 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<ListBotResourceGenerationsOutput, ListBotResourceGenerationsError, Self>
pub fn customize( self ) -> CustomizableOperation<ListBotResourceGenerationsOutput, ListBotResourceGenerationsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> ListBotResourceGenerationsPaginator
pub fn into_paginator(self) -> ListBotResourceGenerationsPaginator
Create a paginator for this request
Paginators are used by calling send().await which returns a PaginationStream.
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 whose generation requests you want to view.
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 whose generation requests you want to view.
sourcepub fn get_bot_id(&self) -> &Option<String>
pub fn get_bot_id(&self) -> &Option<String>
The unique identifier of the bot whose generation requests you want to view.
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 whose generation requests you want to view.
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 whose generation requests you want to view.
sourcepub fn get_bot_version(&self) -> &Option<String>
pub fn get_bot_version(&self) -> &Option<String>
The version of the bot whose generation requests you want to view.
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 whose generation requests you want to view.
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 whose generation requests you want to view.
sourcepub fn get_locale_id(&self) -> &Option<String>
pub fn get_locale_id(&self) -> &Option<String>
The locale of the bot whose generation requests you want to view.
sourcepub fn sort_by(self, input: GenerationSortBy) -> Self
pub fn sort_by(self, input: GenerationSortBy) -> Self
An object containing information about the attribute and the method by which to sort the results
sourcepub fn set_sort_by(self, input: Option<GenerationSortBy>) -> Self
pub fn set_sort_by(self, input: Option<GenerationSortBy>) -> Self
An object containing information about the attribute and the method by which to sort the results
sourcepub fn get_sort_by(&self) -> &Option<GenerationSortBy>
pub fn get_sort_by(&self) -> &Option<GenerationSortBy>
An object containing information about the attribute and the method by which to sort the results
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return in the response.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to return in the response.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to return in the response.
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.
Trait Implementations§
source§impl Clone for ListBotResourceGenerationsFluentBuilder
impl Clone for ListBotResourceGenerationsFluentBuilder
source§fn clone(&self) -> ListBotResourceGenerationsFluentBuilder
fn clone(&self) -> ListBotResourceGenerationsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more