#[non_exhaustive]pub struct BotLocaleSummaryBuilder { /* private fields */ }Expand description
A builder for BotLocaleSummary.
Implementations§
source§impl BotLocaleSummaryBuilder
impl BotLocaleSummaryBuilder
sourcepub fn locale_id(self, input: impl Into<String>) -> Self
pub fn locale_id(self, input: impl Into<String>) -> Self
The language and locale of the bot locale.
sourcepub fn set_locale_id(self, input: Option<String>) -> Self
pub fn set_locale_id(self, input: Option<String>) -> Self
The language and locale of the bot locale.
sourcepub fn get_locale_id(&self) -> &Option<String>
pub fn get_locale_id(&self) -> &Option<String>
The language and locale of the bot locale.
sourcepub fn locale_name(self, input: impl Into<String>) -> Self
pub fn locale_name(self, input: impl Into<String>) -> Self
The name of the bot locale.
sourcepub fn set_locale_name(self, input: Option<String>) -> Self
pub fn set_locale_name(self, input: Option<String>) -> Self
The name of the bot locale.
sourcepub fn get_locale_name(&self) -> &Option<String>
pub fn get_locale_name(&self) -> &Option<String>
The name of the bot locale.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the bot locale.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the bot locale.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the bot locale.
sourcepub fn bot_locale_status(self, input: BotLocaleStatus) -> Self
pub fn bot_locale_status(self, input: BotLocaleStatus) -> Self
The current status of the bot locale. When the status is Built the locale is ready for use.
sourcepub fn set_bot_locale_status(self, input: Option<BotLocaleStatus>) -> Self
pub fn set_bot_locale_status(self, input: Option<BotLocaleStatus>) -> Self
The current status of the bot locale. When the status is Built the locale is ready for use.
sourcepub fn get_bot_locale_status(&self) -> &Option<BotLocaleStatus>
pub fn get_bot_locale_status(&self) -> &Option<BotLocaleStatus>
The current status of the bot locale. When the status is Built the locale is ready for use.
sourcepub fn last_updated_date_time(self, input: DateTime) -> Self
pub fn last_updated_date_time(self, input: DateTime) -> Self
A timestamp of the date and time that the bot locale was last updated.
sourcepub fn set_last_updated_date_time(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_date_time(self, input: Option<DateTime>) -> Self
A timestamp of the date and time that the bot locale was last updated.
sourcepub fn get_last_updated_date_time(&self) -> &Option<DateTime>
pub fn get_last_updated_date_time(&self) -> &Option<DateTime>
A timestamp of the date and time that the bot locale was last updated.
sourcepub fn last_build_submitted_date_time(self, input: DateTime) -> Self
pub fn last_build_submitted_date_time(self, input: DateTime) -> Self
A timestamp of the date and time that the bot locale was last built.
sourcepub fn set_last_build_submitted_date_time(self, input: Option<DateTime>) -> Self
pub fn set_last_build_submitted_date_time(self, input: Option<DateTime>) -> Self
A timestamp of the date and time that the bot locale was last built.
sourcepub fn get_last_build_submitted_date_time(&self) -> &Option<DateTime>
pub fn get_last_build_submitted_date_time(&self) -> &Option<DateTime>
A timestamp of the date and time that the bot locale was last built.
sourcepub fn build(self) -> BotLocaleSummary
pub fn build(self) -> BotLocaleSummary
Consumes the builder and constructs a BotLocaleSummary.
Trait Implementations§
source§impl Clone for BotLocaleSummaryBuilder
impl Clone for BotLocaleSummaryBuilder
source§fn clone(&self) -> BotLocaleSummaryBuilder
fn clone(&self) -> BotLocaleSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for BotLocaleSummaryBuilder
impl Debug for BotLocaleSummaryBuilder
source§impl Default for BotLocaleSummaryBuilder
impl Default for BotLocaleSummaryBuilder
source§fn default() -> BotLocaleSummaryBuilder
fn default() -> BotLocaleSummaryBuilder
source§impl PartialEq for BotLocaleSummaryBuilder
impl PartialEq for BotLocaleSummaryBuilder
impl StructuralPartialEq for BotLocaleSummaryBuilder
Auto Trait Implementations§
impl Freeze for BotLocaleSummaryBuilder
impl RefUnwindSafe for BotLocaleSummaryBuilder
impl Send for BotLocaleSummaryBuilder
impl Sync for BotLocaleSummaryBuilder
impl Unpin for BotLocaleSummaryBuilder
impl UnwindSafe for BotLocaleSummaryBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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