Struct aws_sdk_chime::operation::put_voice_connector_emergency_calling_configuration::builders::PutVoiceConnectorEmergencyCallingConfigurationFluentBuilder
source ยท pub struct PutVoiceConnectorEmergencyCallingConfigurationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to PutVoiceConnectorEmergencyCallingConfiguration
.
Puts emergency calling configuration details to the specified Amazon Chime Voice Connector, such as emergency phone numbers and calling countries. Origination and termination settings must be enabled for the Amazon Chime Voice Connector before emergency calling can be configured.
This API is is no longer supported and will not be updated. We recommend using the latest version, PutVoiceConnectorEmergencyCallingConfiguration, in the Amazon Chime SDK.
Using the latest version requires migrating to a dedicated namespace. For more information, refer to Migrating from the Amazon Chime namespace in the Amazon Chime SDK Developer Guide.
Implementationsยง
sourceยงimpl PutVoiceConnectorEmergencyCallingConfigurationFluentBuilder
impl PutVoiceConnectorEmergencyCallingConfigurationFluentBuilder
sourcepub fn as_input(
&self
) -> &PutVoiceConnectorEmergencyCallingConfigurationInputBuilder
pub fn as_input( &self ) -> &PutVoiceConnectorEmergencyCallingConfigurationInputBuilder
Access the PutVoiceConnectorEmergencyCallingConfiguration as a reference.
sourcepub async fn send(
self
) -> Result<PutVoiceConnectorEmergencyCallingConfigurationOutput, SdkError<PutVoiceConnectorEmergencyCallingConfigurationError, HttpResponse>>
pub async fn send( self ) -> Result<PutVoiceConnectorEmergencyCallingConfigurationOutput, SdkError<PutVoiceConnectorEmergencyCallingConfigurationError, 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<PutVoiceConnectorEmergencyCallingConfigurationOutput, PutVoiceConnectorEmergencyCallingConfigurationError, Self>
pub fn customize( self ) -> CustomizableOperation<PutVoiceConnectorEmergencyCallingConfigurationOutput, PutVoiceConnectorEmergencyCallingConfigurationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn voice_connector_id(self, input: impl Into<String>) -> Self
pub fn voice_connector_id(self, input: impl Into<String>) -> Self
The Amazon Chime Voice Connector ID.
sourcepub fn set_voice_connector_id(self, input: Option<String>) -> Self
pub fn set_voice_connector_id(self, input: Option<String>) -> Self
The Amazon Chime Voice Connector ID.
sourcepub fn get_voice_connector_id(&self) -> &Option<String>
pub fn get_voice_connector_id(&self) -> &Option<String>
The Amazon Chime Voice Connector ID.
sourcepub fn emergency_calling_configuration(
self,
input: EmergencyCallingConfiguration
) -> Self
pub fn emergency_calling_configuration( self, input: EmergencyCallingConfiguration ) -> Self
The emergency calling configuration details.
sourcepub fn set_emergency_calling_configuration(
self,
input: Option<EmergencyCallingConfiguration>
) -> Self
pub fn set_emergency_calling_configuration( self, input: Option<EmergencyCallingConfiguration> ) -> Self
The emergency calling configuration details.
sourcepub fn get_emergency_calling_configuration(
&self
) -> &Option<EmergencyCallingConfiguration>
pub fn get_emergency_calling_configuration( &self ) -> &Option<EmergencyCallingConfiguration>
The emergency calling configuration details.
Trait Implementationsยง
sourceยงimpl Clone for PutVoiceConnectorEmergencyCallingConfigurationFluentBuilder
impl Clone for PutVoiceConnectorEmergencyCallingConfigurationFluentBuilder
sourceยงfn clone(&self) -> PutVoiceConnectorEmergencyCallingConfigurationFluentBuilder
fn clone(&self) -> PutVoiceConnectorEmergencyCallingConfigurationFluentBuilder
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 PutVoiceConnectorEmergencyCallingConfigurationFluentBuilder
impl !RefUnwindSafe for PutVoiceConnectorEmergencyCallingConfigurationFluentBuilder
impl Send for PutVoiceConnectorEmergencyCallingConfigurationFluentBuilder
impl Sync for PutVoiceConnectorEmergencyCallingConfigurationFluentBuilder
impl Unpin for PutVoiceConnectorEmergencyCallingConfigurationFluentBuilder
impl !UnwindSafe for PutVoiceConnectorEmergencyCallingConfigurationFluentBuilder
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