Struct aws_sdk_lexmodelsv2::operation::list_bot_versions::builders::ListBotVersionsOutputBuilder
source · #[non_exhaustive]pub struct ListBotVersionsOutputBuilder { /* private fields */ }
Expand description
A builder for ListBotVersionsOutput
.
Implementations§
source§impl ListBotVersionsOutputBuilder
impl ListBotVersionsOutputBuilder
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.
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 bot_version_summaries(self, input: BotVersionSummary) -> Self
pub fn bot_version_summaries(self, input: BotVersionSummary) -> Self
Appends an item to bot_version_summaries
.
To override the contents of this collection use set_bot_version_summaries
.
Summary information for the bot versions that meet the filter criteria specified in the request. The length of the list is specified in the maxResults
parameter of the request. If there are more versions available, the nextToken
field contains a token to get the next page of results.
sourcepub fn set_bot_version_summaries(
self,
input: Option<Vec<BotVersionSummary>>
) -> Self
pub fn set_bot_version_summaries( self, input: Option<Vec<BotVersionSummary>> ) -> Self
Summary information for the bot versions that meet the filter criteria specified in the request. The length of the list is specified in the maxResults
parameter of the request. If there are more versions available, the nextToken
field contains a token to get the next page of results.
sourcepub fn get_bot_version_summaries(&self) -> &Option<Vec<BotVersionSummary>>
pub fn get_bot_version_summaries(&self) -> &Option<Vec<BotVersionSummary>>
Summary information for the bot versions that meet the filter criteria specified in the request. The length of the list is specified in the maxResults
parameter of the request. If there are more versions available, the nextToken
field contains a token to get the next page of results.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A token that indicates whether there are more results to return in a response to the ListBotVersions
operation. If the nextToken
field is present, you send the contents as the nextToken
parameter of a ListBotAliases
operation request to get 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
A token that indicates whether there are more results to return in a response to the ListBotVersions
operation. If the nextToken
field is present, you send the contents as the nextToken
parameter of a ListBotAliases
operation request to get the next page of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A token that indicates whether there are more results to return in a response to the ListBotVersions
operation. If the nextToken
field is present, you send the contents as the nextToken
parameter of a ListBotAliases
operation request to get the next page of results.
sourcepub fn build(self) -> ListBotVersionsOutput
pub fn build(self) -> ListBotVersionsOutput
Consumes the builder and constructs a ListBotVersionsOutput
.
Trait Implementations§
source§impl Clone for ListBotVersionsOutputBuilder
impl Clone for ListBotVersionsOutputBuilder
source§fn clone(&self) -> ListBotVersionsOutputBuilder
fn clone(&self) -> ListBotVersionsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListBotVersionsOutputBuilder
impl Debug for ListBotVersionsOutputBuilder
source§impl Default for ListBotVersionsOutputBuilder
impl Default for ListBotVersionsOutputBuilder
source§fn default() -> ListBotVersionsOutputBuilder
fn default() -> ListBotVersionsOutputBuilder
source§impl PartialEq for ListBotVersionsOutputBuilder
impl PartialEq for ListBotVersionsOutputBuilder
source§fn eq(&self, other: &ListBotVersionsOutputBuilder) -> bool
fn eq(&self, other: &ListBotVersionsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.