Struct aws_sdk_chimesdkvoice::operation::associate_phone_numbers_with_voice_connector_group::builders::AssociatePhoneNumbersWithVoiceConnectorGroupFluentBuilder
source · pub struct AssociatePhoneNumbersWithVoiceConnectorGroupFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to AssociatePhoneNumbersWithVoiceConnectorGroup
.
Associates phone numbers with the specified Amazon Chime SDK Voice Connector group.
Implementations§
source§impl AssociatePhoneNumbersWithVoiceConnectorGroupFluentBuilder
impl AssociatePhoneNumbersWithVoiceConnectorGroupFluentBuilder
sourcepub fn as_input(
&self
) -> &AssociatePhoneNumbersWithVoiceConnectorGroupInputBuilder
pub fn as_input( &self ) -> &AssociatePhoneNumbersWithVoiceConnectorGroupInputBuilder
Access the AssociatePhoneNumbersWithVoiceConnectorGroup as a reference.
sourcepub async fn send(
self
) -> Result<AssociatePhoneNumbersWithVoiceConnectorGroupOutput, SdkError<AssociatePhoneNumbersWithVoiceConnectorGroupError, HttpResponse>>
pub async fn send( self ) -> Result<AssociatePhoneNumbersWithVoiceConnectorGroupOutput, SdkError<AssociatePhoneNumbersWithVoiceConnectorGroupError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<AssociatePhoneNumbersWithVoiceConnectorGroupOutput, AssociatePhoneNumbersWithVoiceConnectorGroupError, Self>
pub fn customize( self ) -> CustomizableOperation<AssociatePhoneNumbersWithVoiceConnectorGroupOutput, AssociatePhoneNumbersWithVoiceConnectorGroupError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 SDK Voice Connector group ID.
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 SDK 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 SDK 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 E164PhoneNumbers
.
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 SDK 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 SDK 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 SDK Voice Connector Group and removes any previously existing associations. If false, does not associate any phone numbers that have previously existing associations.
Trait Implementations§
source§impl Clone for AssociatePhoneNumbersWithVoiceConnectorGroupFluentBuilder
impl Clone for AssociatePhoneNumbersWithVoiceConnectorGroupFluentBuilder
source§fn clone(&self) -> AssociatePhoneNumbersWithVoiceConnectorGroupFluentBuilder
fn clone(&self) -> AssociatePhoneNumbersWithVoiceConnectorGroupFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for AssociatePhoneNumbersWithVoiceConnectorGroupFluentBuilder
impl !RefUnwindSafe for AssociatePhoneNumbersWithVoiceConnectorGroupFluentBuilder
impl Send for AssociatePhoneNumbersWithVoiceConnectorGroupFluentBuilder
impl Sync for AssociatePhoneNumbersWithVoiceConnectorGroupFluentBuilder
impl Unpin for AssociatePhoneNumbersWithVoiceConnectorGroupFluentBuilder
impl !UnwindSafe for AssociatePhoneNumbersWithVoiceConnectorGroupFluentBuilder
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