Struct aws_sdk_chime::operation::create_voice_connector::builders::CreateVoiceConnectorFluentBuilder
source ยท pub struct CreateVoiceConnectorFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateVoiceConnector
.
Creates an Amazon Chime Voice Connector under the administrator's AWS account. You can choose to create an Amazon Chime Voice Connector in a specific AWS Region.
Enabling CreateVoiceConnectorRequest$RequireEncryption
configures your Amazon Chime Voice Connector to use TLS transport for SIP signaling and Secure RTP (SRTP) for media. Inbound calls use TLS transport, and unencrypted outbound calls are blocked.
This API is is no longer supported and will not be updated. We recommend using the latest version, CreateVoiceConnector, 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 CreateVoiceConnectorFluentBuilder
impl CreateVoiceConnectorFluentBuilder
sourcepub fn as_input(&self) -> &CreateVoiceConnectorInputBuilder
pub fn as_input(&self) -> &CreateVoiceConnectorInputBuilder
Access the CreateVoiceConnector as a reference.
sourcepub async fn send(
self
) -> Result<CreateVoiceConnectorOutput, SdkError<CreateVoiceConnectorError, HttpResponse>>
pub async fn send( self ) -> Result<CreateVoiceConnectorOutput, SdkError<CreateVoiceConnectorError, 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<CreateVoiceConnectorOutput, CreateVoiceConnectorError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateVoiceConnectorOutput, CreateVoiceConnectorError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the Amazon Chime Voice Connector.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the Amazon Chime Voice Connector.
sourcepub fn aws_region(self, input: VoiceConnectorAwsRegion) -> Self
pub fn aws_region(self, input: VoiceConnectorAwsRegion) -> Self
The AWS Region in which the Amazon Chime Voice Connector is created. Default value: us-east-1
.
sourcepub fn set_aws_region(self, input: Option<VoiceConnectorAwsRegion>) -> Self
pub fn set_aws_region(self, input: Option<VoiceConnectorAwsRegion>) -> Self
The AWS Region in which the Amazon Chime Voice Connector is created. Default value: us-east-1
.
sourcepub fn get_aws_region(&self) -> &Option<VoiceConnectorAwsRegion>
pub fn get_aws_region(&self) -> &Option<VoiceConnectorAwsRegion>
The AWS Region in which the Amazon Chime Voice Connector is created. Default value: us-east-1
.
sourcepub fn require_encryption(self, input: bool) -> Self
pub fn require_encryption(self, input: bool) -> Self
When enabled, requires encryption for the Amazon Chime Voice Connector.
sourcepub fn set_require_encryption(self, input: Option<bool>) -> Self
pub fn set_require_encryption(self, input: Option<bool>) -> Self
When enabled, requires encryption for the Amazon Chime Voice Connector.
sourcepub fn get_require_encryption(&self) -> &Option<bool>
pub fn get_require_encryption(&self) -> &Option<bool>
When enabled, requires encryption for the Amazon Chime Voice Connector.
Trait Implementationsยง
sourceยงimpl Clone for CreateVoiceConnectorFluentBuilder
impl Clone for CreateVoiceConnectorFluentBuilder
sourceยงfn clone(&self) -> CreateVoiceConnectorFluentBuilder
fn clone(&self) -> CreateVoiceConnectorFluentBuilder
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 CreateVoiceConnectorFluentBuilder
impl !RefUnwindSafe for CreateVoiceConnectorFluentBuilder
impl Send for CreateVoiceConnectorFluentBuilder
impl Sync for CreateVoiceConnectorFluentBuilder
impl Unpin for CreateVoiceConnectorFluentBuilder
impl !UnwindSafe for CreateVoiceConnectorFluentBuilder
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