Struct aws_sdk_chime::operation::create_voice_connector::builders::CreateVoiceConnectorInputBuilder
source · #[non_exhaustive]pub struct CreateVoiceConnectorInputBuilder { /* private fields */ }
Expand description
A builder for CreateVoiceConnectorInput
.
Implementations§
source§impl CreateVoiceConnectorInputBuilder
impl CreateVoiceConnectorInputBuilder
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.
This field is required.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.
This field is required.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.
sourcepub fn build(self) -> Result<CreateVoiceConnectorInput, BuildError>
pub fn build(self) -> Result<CreateVoiceConnectorInput, BuildError>
Consumes the builder and constructs a CreateVoiceConnectorInput
.
source§impl CreateVoiceConnectorInputBuilder
impl CreateVoiceConnectorInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateVoiceConnectorOutput, SdkError<CreateVoiceConnectorError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateVoiceConnectorOutput, SdkError<CreateVoiceConnectorError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateVoiceConnectorInputBuilder
impl Clone for CreateVoiceConnectorInputBuilder
source§fn clone(&self) -> CreateVoiceConnectorInputBuilder
fn clone(&self) -> CreateVoiceConnectorInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for CreateVoiceConnectorInputBuilder
impl Default for CreateVoiceConnectorInputBuilder
source§fn default() -> CreateVoiceConnectorInputBuilder
fn default() -> CreateVoiceConnectorInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateVoiceConnectorInputBuilder
impl PartialEq for CreateVoiceConnectorInputBuilder
source§fn eq(&self, other: &CreateVoiceConnectorInputBuilder) -> bool
fn eq(&self, other: &CreateVoiceConnectorInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateVoiceConnectorInputBuilder
Auto Trait Implementations§
impl Freeze for CreateVoiceConnectorInputBuilder
impl RefUnwindSafe for CreateVoiceConnectorInputBuilder
impl Send for CreateVoiceConnectorInputBuilder
impl Sync for CreateVoiceConnectorInputBuilder
impl Unpin for CreateVoiceConnectorInputBuilder
impl UnwindSafe for CreateVoiceConnectorInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.