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 more