Struct aws_sdk_chime::operation::associate_phone_numbers_with_voice_connector_group::builders::AssociatePhoneNumbersWithVoiceConnectorGroupInputBuilder
source · #[non_exhaustive]pub struct AssociatePhoneNumbersWithVoiceConnectorGroupInputBuilder { /* private fields */ }
Expand description
A builder for AssociatePhoneNumbersWithVoiceConnectorGroupInput
.
Implementations§
source§impl AssociatePhoneNumbersWithVoiceConnectorGroupInputBuilder
impl AssociatePhoneNumbersWithVoiceConnectorGroupInputBuilder
sourcepub fn voice_connector_group_id(self, input: impl Into<String>) -> Self
pub fn voice_connector_group_id(self, input: impl Into<String>) -> Self
The Amazon Chime Voice Connector group ID.
This field is required.sourcepub fn set_voice_connector_group_id(self, input: Option<String>) -> Self
pub fn set_voice_connector_group_id(self, input: Option<String>) -> Self
The Amazon Chime Voice Connector group ID.
sourcepub fn get_voice_connector_group_id(&self) -> &Option<String>
pub fn get_voice_connector_group_id(&self) -> &Option<String>
The Amazon Chime Voice Connector group ID.
sourcepub fn e164_phone_numbers(self, input: impl Into<String>) -> Self
pub fn e164_phone_numbers(self, input: impl Into<String>) -> Self
Appends an item to e164_phone_numbers
.
To override the contents of this collection use set_e164_phone_numbers
.
List of phone numbers, in E.164 format.
sourcepub fn set_e164_phone_numbers(self, input: Option<Vec<String>>) -> Self
pub fn set_e164_phone_numbers(self, input: Option<Vec<String>>) -> Self
List of phone numbers, in E.164 format.
sourcepub fn get_e164_phone_numbers(&self) -> &Option<Vec<String>>
pub fn get_e164_phone_numbers(&self) -> &Option<Vec<String>>
List of phone numbers, in E.164 format.
sourcepub fn force_associate(self, input: bool) -> Self
pub fn force_associate(self, input: bool) -> Self
If true, associates the provided phone numbers with the provided Amazon Chime Voice Connector Group and removes any previously existing associations. If false, does not associate any phone numbers that have previously existing associations.
sourcepub fn set_force_associate(self, input: Option<bool>) -> Self
pub fn set_force_associate(self, input: Option<bool>) -> Self
If true, associates the provided phone numbers with the provided Amazon Chime Voice Connector Group and removes any previously existing associations. If false, does not associate any phone numbers that have previously existing associations.
sourcepub fn get_force_associate(&self) -> &Option<bool>
pub fn get_force_associate(&self) -> &Option<bool>
If true, associates the provided phone numbers with the provided Amazon Chime Voice Connector Group and removes any previously existing associations. If false, does not associate any phone numbers that have previously existing associations.
sourcepub fn build(
self
) -> Result<AssociatePhoneNumbersWithVoiceConnectorGroupInput, BuildError>
pub fn build( self ) -> Result<AssociatePhoneNumbersWithVoiceConnectorGroupInput, BuildError>
Consumes the builder and constructs a AssociatePhoneNumbersWithVoiceConnectorGroupInput
.
source§impl AssociatePhoneNumbersWithVoiceConnectorGroupInputBuilder
impl AssociatePhoneNumbersWithVoiceConnectorGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AssociatePhoneNumbersWithVoiceConnectorGroupOutput, SdkError<AssociatePhoneNumbersWithVoiceConnectorGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AssociatePhoneNumbersWithVoiceConnectorGroupOutput, SdkError<AssociatePhoneNumbersWithVoiceConnectorGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AssociatePhoneNumbersWithVoiceConnectorGroupInputBuilder
impl Clone for AssociatePhoneNumbersWithVoiceConnectorGroupInputBuilder
source§fn clone(&self) -> AssociatePhoneNumbersWithVoiceConnectorGroupInputBuilder
fn clone(&self) -> AssociatePhoneNumbersWithVoiceConnectorGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AssociatePhoneNumbersWithVoiceConnectorGroupInputBuilder
impl Default for AssociatePhoneNumbersWithVoiceConnectorGroupInputBuilder
source§fn default() -> AssociatePhoneNumbersWithVoiceConnectorGroupInputBuilder
fn default() -> AssociatePhoneNumbersWithVoiceConnectorGroupInputBuilder
source§impl PartialEq for AssociatePhoneNumbersWithVoiceConnectorGroupInputBuilder
impl PartialEq for AssociatePhoneNumbersWithVoiceConnectorGroupInputBuilder
source§fn eq(
&self,
other: &AssociatePhoneNumbersWithVoiceConnectorGroupInputBuilder
) -> bool
fn eq( &self, other: &AssociatePhoneNumbersWithVoiceConnectorGroupInputBuilder ) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssociatePhoneNumbersWithVoiceConnectorGroupInputBuilder
Auto Trait Implementations§
impl Freeze for AssociatePhoneNumbersWithVoiceConnectorGroupInputBuilder
impl RefUnwindSafe for AssociatePhoneNumbersWithVoiceConnectorGroupInputBuilder
impl Send for AssociatePhoneNumbersWithVoiceConnectorGroupInputBuilder
impl Sync for AssociatePhoneNumbersWithVoiceConnectorGroupInputBuilder
impl Unpin for AssociatePhoneNumbersWithVoiceConnectorGroupInputBuilder
impl UnwindSafe for AssociatePhoneNumbersWithVoiceConnectorGroupInputBuilder
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