#[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 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 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
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 Default for PhoneNumberAssociationBuilder
impl Default for PhoneNumberAssociationBuilder
source§fn default() -> PhoneNumberAssociationBuilder
fn default() -> PhoneNumberAssociationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<PhoneNumberAssociationBuilder> for PhoneNumberAssociationBuilder
impl PartialEq<PhoneNumberAssociationBuilder> for PhoneNumberAssociationBuilder
source§fn eq(&self, other: &PhoneNumberAssociationBuilder) -> bool
fn eq(&self, other: &PhoneNumberAssociationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PhoneNumberAssociationBuilder
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more