#[non_exhaustive]pub struct BotReplicaSummaryBuilder { /* private fields */ }Expand description
A builder for BotReplicaSummary.
Implementations§
source§impl BotReplicaSummaryBuilder
impl BotReplicaSummaryBuilder
sourcepub fn replica_region(self, input: impl Into<String>) -> Self
pub fn replica_region(self, input: impl Into<String>) -> Self
The replica region used in the replication statuses summary.
sourcepub fn set_replica_region(self, input: Option<String>) -> Self
pub fn set_replica_region(self, input: Option<String>) -> Self
The replica region used in the replication statuses summary.
sourcepub fn get_replica_region(&self) -> &Option<String>
pub fn get_replica_region(&self) -> &Option<String>
The replica region used in the replication statuses summary.
sourcepub fn creation_date_time(self, input: DateTime) -> Self
pub fn creation_date_time(self, input: DateTime) -> Self
The creation time and date for the replicated bots.
sourcepub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
The creation time and date for the replicated bots.
sourcepub fn get_creation_date_time(&self) -> &Option<DateTime>
pub fn get_creation_date_time(&self) -> &Option<DateTime>
The creation time and date for the replicated bots.
sourcepub fn bot_replica_status(self, input: BotReplicaStatus) -> Self
pub fn bot_replica_status(self, input: BotReplicaStatus) -> Self
The operation status for the replicated bot applicable.
sourcepub fn set_bot_replica_status(self, input: Option<BotReplicaStatus>) -> Self
pub fn set_bot_replica_status(self, input: Option<BotReplicaStatus>) -> Self
The operation status for the replicated bot applicable.
sourcepub fn get_bot_replica_status(&self) -> &Option<BotReplicaStatus>
pub fn get_bot_replica_status(&self) -> &Option<BotReplicaStatus>
The operation status for the replicated bot applicable.
sourcepub fn failure_reasons(self, input: impl Into<String>) -> Self
pub fn failure_reasons(self, input: impl Into<String>) -> Self
Appends an item to failure_reasons.
To override the contents of this collection use set_failure_reasons.
The reasons for the failure for the replicated bot.
sourcepub fn set_failure_reasons(self, input: Option<Vec<String>>) -> Self
pub fn set_failure_reasons(self, input: Option<Vec<String>>) -> Self
The reasons for the failure for the replicated bot.
sourcepub fn get_failure_reasons(&self) -> &Option<Vec<String>>
pub fn get_failure_reasons(&self) -> &Option<Vec<String>>
The reasons for the failure for the replicated bot.
sourcepub fn build(self) -> BotReplicaSummary
pub fn build(self) -> BotReplicaSummary
Consumes the builder and constructs a BotReplicaSummary.
Trait Implementations§
source§impl Clone for BotReplicaSummaryBuilder
impl Clone for BotReplicaSummaryBuilder
source§fn clone(&self) -> BotReplicaSummaryBuilder
fn clone(&self) -> BotReplicaSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for BotReplicaSummaryBuilder
impl Debug for BotReplicaSummaryBuilder
source§impl Default for BotReplicaSummaryBuilder
impl Default for BotReplicaSummaryBuilder
source§fn default() -> BotReplicaSummaryBuilder
fn default() -> BotReplicaSummaryBuilder
source§impl PartialEq for BotReplicaSummaryBuilder
impl PartialEq for BotReplicaSummaryBuilder
impl StructuralPartialEq for BotReplicaSummaryBuilder
Auto Trait Implementations§
impl Freeze for BotReplicaSummaryBuilder
impl RefUnwindSafe for BotReplicaSummaryBuilder
impl Send for BotReplicaSummaryBuilder
impl Sync for BotReplicaSummaryBuilder
impl Unpin for BotReplicaSummaryBuilder
impl UnwindSafe for BotReplicaSummaryBuilder
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