#[non_exhaustive]pub struct PhoneNumberAssociationBuilder { /* private fields */ }
Expand description
A builder for PhoneNumberAssociation
.
Implementations§
source§impl PhoneNumberAssociationBuilder
impl PhoneNumberAssociationBuilder
sourcepub fn value(self, input: impl Into<String>) -> Self
pub fn value(self, input: impl Into<String>) -> Self
Contains the ID for the entity specified in Name.
sourcepub fn set_value(self, input: Option<String>) -> Self
pub fn set_value(self, input: Option<String>) -> Self
Contains the ID for the entity specified in Name.
sourcepub fn name(self, input: PhoneNumberAssociationName) -> Self
pub fn name(self, input: PhoneNumberAssociationName) -> Self
Defines the association with an Amazon Chime account ID, user ID, Amazon Chime Voice Connector ID, or Amazon Chime Voice Connector group ID.
sourcepub fn set_name(self, input: Option<PhoneNumberAssociationName>) -> Self
pub fn set_name(self, input: Option<PhoneNumberAssociationName>) -> Self
Defines the association with an Amazon Chime account ID, user ID, Amazon Chime Voice Connector ID, or Amazon Chime Voice Connector group ID.
sourcepub fn get_name(&self) -> &Option<PhoneNumberAssociationName>
pub fn get_name(&self) -> &Option<PhoneNumberAssociationName>
Defines the association with an Amazon Chime account ID, user ID, Amazon Chime Voice Connector ID, or Amazon Chime Voice Connector group ID.
sourcepub fn associated_timestamp(self, input: DateTime) -> Self
pub fn associated_timestamp(self, input: DateTime) -> Self
The timestamp of the phone number association, in ISO 8601 format.
sourcepub fn set_associated_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_associated_timestamp(self, input: Option<DateTime>) -> Self
The timestamp of the phone number association, in ISO 8601 format.
sourcepub fn get_associated_timestamp(&self) -> &Option<DateTime>
pub fn get_associated_timestamp(&self) -> &Option<DateTime>
The timestamp of the phone number association, in ISO 8601 format.
sourcepub fn build(self) -> PhoneNumberAssociation
pub fn build(self) -> PhoneNumberAssociation
Consumes the builder and constructs a PhoneNumberAssociation
.
Trait Implementations§
source§impl Clone for PhoneNumberAssociationBuilder
impl Clone for PhoneNumberAssociationBuilder
source§fn clone(&self) -> PhoneNumberAssociationBuilder
fn clone(&self) -> PhoneNumberAssociationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for PhoneNumberAssociationBuilder
impl Default for PhoneNumberAssociationBuilder
source§fn default() -> PhoneNumberAssociationBuilder
fn default() -> PhoneNumberAssociationBuilder
source§impl PartialEq for PhoneNumberAssociationBuilder
impl PartialEq for PhoneNumberAssociationBuilder
source§fn eq(&self, other: &PhoneNumberAssociationBuilder) -> bool
fn eq(&self, other: &PhoneNumberAssociationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PhoneNumberAssociationBuilder
Auto Trait Implementations§
impl Freeze for PhoneNumberAssociationBuilder
impl RefUnwindSafe for PhoneNumberAssociationBuilder
impl Send for PhoneNumberAssociationBuilder
impl Sync for PhoneNumberAssociationBuilder
impl Unpin for PhoneNumberAssociationBuilder
impl UnwindSafe for PhoneNumberAssociationBuilder
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