Struct aws_sdk_lexmodelsv2::operation::list_bot_locales::builders::ListBotLocalesOutputBuilder
source · #[non_exhaustive]pub struct ListBotLocalesOutputBuilder { /* private fields */ }
Expand description
A builder for ListBotLocalesOutput
.
Implementations§
source§impl ListBotLocalesOutputBuilder
impl ListBotLocalesOutputBuilder
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 locales 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 locales for.
sourcepub fn get_bot_id(&self) -> &Option<String>
pub fn get_bot_id(&self) -> &Option<String>
The identifier of the bot to list locales for.
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.
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.
sourcepub fn get_bot_version(&self) -> &Option<String>
pub fn get_bot_version(&self) -> &Option<String>
The version of the bot.
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 ListBotLocales
operation. If the nextToken
field is present, you send the contents as the nextToken
parameter of a ListBotLocales
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 ListBotLocales
operation. If the nextToken
field is present, you send the contents as the nextToken
parameter of a ListBotLocales
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 ListBotLocales
operation. If the nextToken
field is present, you send the contents as the nextToken
parameter of a ListBotLocales
operation request to get the next page of results.
sourcepub fn bot_locale_summaries(self, input: BotLocaleSummary) -> Self
pub fn bot_locale_summaries(self, input: BotLocaleSummary) -> Self
Appends an item to bot_locale_summaries
.
To override the contents of this collection use set_bot_locale_summaries
.
Summary information for the locales 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 locales available, the nextToken
field contains a token to get the next page of results.
sourcepub fn set_bot_locale_summaries(
self,
input: Option<Vec<BotLocaleSummary>>
) -> Self
pub fn set_bot_locale_summaries( self, input: Option<Vec<BotLocaleSummary>> ) -> Self
Summary information for the locales 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 locales available, the nextToken
field contains a token to get the next page of results.
sourcepub fn get_bot_locale_summaries(&self) -> &Option<Vec<BotLocaleSummary>>
pub fn get_bot_locale_summaries(&self) -> &Option<Vec<BotLocaleSummary>>
Summary information for the locales 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 locales available, the nextToken
field contains a token to get the next page of results.
sourcepub fn build(self) -> ListBotLocalesOutput
pub fn build(self) -> ListBotLocalesOutput
Consumes the builder and constructs a ListBotLocalesOutput
.
Trait Implementations§
source§impl Clone for ListBotLocalesOutputBuilder
impl Clone for ListBotLocalesOutputBuilder
source§fn clone(&self) -> ListBotLocalesOutputBuilder
fn clone(&self) -> ListBotLocalesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListBotLocalesOutputBuilder
impl Debug for ListBotLocalesOutputBuilder
source§impl Default for ListBotLocalesOutputBuilder
impl Default for ListBotLocalesOutputBuilder
source§fn default() -> ListBotLocalesOutputBuilder
fn default() -> ListBotLocalesOutputBuilder
source§impl PartialEq for ListBotLocalesOutputBuilder
impl PartialEq for ListBotLocalesOutputBuilder
source§fn eq(&self, other: &ListBotLocalesOutputBuilder) -> bool
fn eq(&self, other: &ListBotLocalesOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListBotLocalesOutputBuilder
Auto Trait Implementations§
impl Freeze for ListBotLocalesOutputBuilder
impl RefUnwindSafe for ListBotLocalesOutputBuilder
impl Send for ListBotLocalesOutputBuilder
impl Sync for ListBotLocalesOutputBuilder
impl Unpin for ListBotLocalesOutputBuilder
impl UnwindSafe for ListBotLocalesOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more