Struct aws_sdk_lexmodelsv2::operation::list_bot_aliases::builders::ListBotAliasesInputBuilder
source · #[non_exhaustive]pub struct ListBotAliasesInputBuilder { /* private fields */ }Expand description
A builder for ListBotAliasesInput.
Implementations§
source§impl ListBotAliasesInputBuilder
impl ListBotAliasesInputBuilder
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 aliases 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 aliases for.
sourcepub fn get_bot_id(&self) -> &Option<String>
pub fn get_bot_id(&self) -> &Option<String>
The identifier of the bot to list aliases for.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of aliases 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 aliases 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 aliases 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 from the ListBotAliases 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 from the ListBotAliases 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 from the ListBotAliases 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<ListBotAliasesInput, BuildError>
pub fn build(self) -> Result<ListBotAliasesInput, BuildError>
Consumes the builder and constructs a ListBotAliasesInput.
source§impl ListBotAliasesInputBuilder
impl ListBotAliasesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListBotAliasesOutput, SdkError<ListBotAliasesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListBotAliasesOutput, SdkError<ListBotAliasesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListBotAliasesInputBuilder
impl Clone for ListBotAliasesInputBuilder
source§fn clone(&self) -> ListBotAliasesInputBuilder
fn clone(&self) -> ListBotAliasesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListBotAliasesInputBuilder
impl Debug for ListBotAliasesInputBuilder
source§impl Default for ListBotAliasesInputBuilder
impl Default for ListBotAliasesInputBuilder
source§fn default() -> ListBotAliasesInputBuilder
fn default() -> ListBotAliasesInputBuilder
source§impl PartialEq for ListBotAliasesInputBuilder
impl PartialEq for ListBotAliasesInputBuilder
source§fn eq(&self, other: &ListBotAliasesInputBuilder) -> bool
fn eq(&self, other: &ListBotAliasesInputBuilder) -> bool
self and other values to be equal, and is used
by ==.