Struct aws_sdk_lexmodelsv2::operation::list_bot_replicas::builders::ListBotReplicasOutputBuilder
source · #[non_exhaustive]pub struct ListBotReplicasOutputBuilder { /* private fields */ }Expand description
A builder for ListBotReplicasOutput.
Implementations§
source§impl ListBotReplicasOutputBuilder
impl ListBotReplicasOutputBuilder
sourcepub fn bot_id(self, input: impl Into<String>) -> Self
pub fn bot_id(self, input: impl Into<String>) -> Self
the unique bot IDs in the list of replicated bots.
sourcepub fn set_bot_id(self, input: Option<String>) -> Self
pub fn set_bot_id(self, input: Option<String>) -> Self
the unique bot IDs in the list of replicated bots.
sourcepub fn get_bot_id(&self) -> &Option<String>
pub fn get_bot_id(&self) -> &Option<String>
the unique bot IDs in the list of replicated bots.
sourcepub fn source_region(self, input: impl Into<String>) -> Self
pub fn source_region(self, input: impl Into<String>) -> Self
The source region of the source bots in the list of replicated bots.
sourcepub fn set_source_region(self, input: Option<String>) -> Self
pub fn set_source_region(self, input: Option<String>) -> Self
The source region of the source bots in the list of replicated bots.
sourcepub fn get_source_region(&self) -> &Option<String>
pub fn get_source_region(&self) -> &Option<String>
The source region of the source bots in the list of replicated bots.
sourcepub fn bot_replica_summaries(self, input: BotReplicaSummary) -> Self
pub fn bot_replica_summaries(self, input: BotReplicaSummary) -> Self
Appends an item to bot_replica_summaries.
To override the contents of this collection use set_bot_replica_summaries.
The summary details for the replicated bots.
sourcepub fn set_bot_replica_summaries(
self,
input: Option<Vec<BotReplicaSummary>>,
) -> Self
pub fn set_bot_replica_summaries( self, input: Option<Vec<BotReplicaSummary>>, ) -> Self
The summary details for the replicated bots.
sourcepub fn get_bot_replica_summaries(&self) -> &Option<Vec<BotReplicaSummary>>
pub fn get_bot_replica_summaries(&self) -> &Option<Vec<BotReplicaSummary>>
The summary details for the replicated bots.
sourcepub fn build(self) -> ListBotReplicasOutput
pub fn build(self) -> ListBotReplicasOutput
Consumes the builder and constructs a ListBotReplicasOutput.
Trait Implementations§
source§impl Clone for ListBotReplicasOutputBuilder
impl Clone for ListBotReplicasOutputBuilder
source§fn clone(&self) -> ListBotReplicasOutputBuilder
fn clone(&self) -> ListBotReplicasOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ListBotReplicasOutputBuilder
impl Debug for ListBotReplicasOutputBuilder
source§impl Default for ListBotReplicasOutputBuilder
impl Default for ListBotReplicasOutputBuilder
source§fn default() -> ListBotReplicasOutputBuilder
fn default() -> ListBotReplicasOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListBotReplicasOutputBuilder
impl PartialEq for ListBotReplicasOutputBuilder
source§fn eq(&self, other: &ListBotReplicasOutputBuilder) -> bool
fn eq(&self, other: &ListBotReplicasOutputBuilder) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ListBotReplicasOutputBuilder
Auto Trait Implementations§
impl Freeze for ListBotReplicasOutputBuilder
impl RefUnwindSafe for ListBotReplicasOutputBuilder
impl Send for ListBotReplicasOutputBuilder
impl Sync for ListBotReplicasOutputBuilder
impl Unpin for ListBotReplicasOutputBuilder
impl UnwindSafe for ListBotReplicasOutputBuilder
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.