Struct aws_sdk_lexmodelsv2::operation::list_bot_versions::builders::ListBotVersionsInputBuilder
source · #[non_exhaustive]pub struct ListBotVersionsInputBuilder { /* private fields */ }Expand description
A builder for ListBotVersionsInput.
Implementations§
source§impl ListBotVersionsInputBuilder
impl ListBotVersionsInputBuilder
sourcepub fn bot_id(self, input: impl Into<String>) -> Self
pub fn bot_id(self, input: impl Into<String>) -> Self
The identifier of the bot to list versions for.
This field is required.sourcepub fn set_bot_id(self, input: Option<String>) -> Self
pub fn set_bot_id(self, input: Option<String>) -> Self
The identifier of the bot to list versions for.
sourcepub fn get_bot_id(&self) -> &Option<String>
pub fn get_bot_id(&self) -> &Option<String>
The identifier of the bot to list versions for.
sourcepub fn sort_by(self, input: BotVersionSortBy) -> Self
pub fn sort_by(self, input: BotVersionSortBy) -> Self
Specifies sorting parameters for the list of versions. You can specify that the list be sorted by version name in either ascending or descending order.
sourcepub fn set_sort_by(self, input: Option<BotVersionSortBy>) -> Self
pub fn set_sort_by(self, input: Option<BotVersionSortBy>) -> Self
Specifies sorting parameters for the list of versions. You can specify that the list be sorted by version name in either ascending or descending order.
sourcepub fn get_sort_by(&self) -> &Option<BotVersionSortBy>
pub fn get_sort_by(&self) -> &Option<BotVersionSortBy>
Specifies sorting parameters for the list of versions. You can specify that the list be sorted by version name in either ascending or descending order.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of versions to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of versions to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of versions to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If the response to the ListBotVersion operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If the response to the ListBotVersion operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If the response to the ListBotVersion operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results.
sourcepub fn build(self) -> Result<ListBotVersionsInput, BuildError>
pub fn build(self) -> Result<ListBotVersionsInput, BuildError>
Consumes the builder and constructs a ListBotVersionsInput.
source§impl ListBotVersionsInputBuilder
impl ListBotVersionsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListBotVersionsOutput, SdkError<ListBotVersionsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListBotVersionsOutput, SdkError<ListBotVersionsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListBotVersionsInputBuilder
impl Clone for ListBotVersionsInputBuilder
source§fn clone(&self) -> ListBotVersionsInputBuilder
fn clone(&self) -> ListBotVersionsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListBotVersionsInputBuilder
impl Debug for ListBotVersionsInputBuilder
source§impl Default for ListBotVersionsInputBuilder
impl Default for ListBotVersionsInputBuilder
source§fn default() -> ListBotVersionsInputBuilder
fn default() -> ListBotVersionsInputBuilder
source§impl PartialEq for ListBotVersionsInputBuilder
impl PartialEq for ListBotVersionsInputBuilder
source§fn eq(&self, other: &ListBotVersionsInputBuilder) -> bool
fn eq(&self, other: &ListBotVersionsInputBuilder) -> bool
self and other values to be equal, and is used
by ==.