Struct aws_sdk_chime::types::builders::VoiceConnectorBuilder
source · #[non_exhaustive]pub struct VoiceConnectorBuilder { /* private fields */ }
Expand description
A builder for VoiceConnector
.
Implementations§
source§impl VoiceConnectorBuilder
impl VoiceConnectorBuilder
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 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: 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: 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: us-east-1
.
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 outbound_host_name(self, input: impl Into<String>) -> Self
pub fn outbound_host_name(self, input: impl Into<String>) -> Self
The outbound host name for the Amazon Chime Voice Connector.
sourcepub fn set_outbound_host_name(self, input: Option<String>) -> Self
pub fn set_outbound_host_name(self, input: Option<String>) -> Self
The outbound host name for the Amazon Chime Voice Connector.
sourcepub fn get_outbound_host_name(&self) -> &Option<String>
pub fn get_outbound_host_name(&self) -> &Option<String>
The outbound host name for the Amazon Chime Voice Connector.
sourcepub fn require_encryption(self, input: bool) -> Self
pub fn require_encryption(self, input: bool) -> Self
Designates whether encryption is required 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
Designates whether encryption is required for the Amazon Chime Voice Connector.
sourcepub fn get_require_encryption(&self) -> &Option<bool>
pub fn get_require_encryption(&self) -> &Option<bool>
Designates whether encryption is required for the Amazon Chime Voice Connector.
sourcepub fn created_timestamp(self, input: DateTime) -> Self
pub fn created_timestamp(self, input: DateTime) -> Self
The Amazon Chime Voice Connector creation timestamp, in ISO 8601 format.
sourcepub fn set_created_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_created_timestamp(self, input: Option<DateTime>) -> Self
The Amazon Chime Voice Connector creation timestamp, in ISO 8601 format.
sourcepub fn get_created_timestamp(&self) -> &Option<DateTime>
pub fn get_created_timestamp(&self) -> &Option<DateTime>
The Amazon Chime Voice Connector creation timestamp, in ISO 8601 format.
sourcepub fn updated_timestamp(self, input: DateTime) -> Self
pub fn updated_timestamp(self, input: DateTime) -> Self
The updated Amazon Chime Voice Connector timestamp, in ISO 8601 format.
sourcepub fn set_updated_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_updated_timestamp(self, input: Option<DateTime>) -> Self
The updated Amazon Chime Voice Connector timestamp, in ISO 8601 format.
sourcepub fn get_updated_timestamp(&self) -> &Option<DateTime>
pub fn get_updated_timestamp(&self) -> &Option<DateTime>
The updated Amazon Chime Voice Connector timestamp, in ISO 8601 format.
sourcepub fn voice_connector_arn(self, input: impl Into<String>) -> Self
pub fn voice_connector_arn(self, input: impl Into<String>) -> Self
The ARN of the specified Amazon Chime Voice Connector.
sourcepub fn set_voice_connector_arn(self, input: Option<String>) -> Self
pub fn set_voice_connector_arn(self, input: Option<String>) -> Self
The ARN of the specified Amazon Chime Voice Connector.
sourcepub fn get_voice_connector_arn(&self) -> &Option<String>
pub fn get_voice_connector_arn(&self) -> &Option<String>
The ARN of the specified Amazon Chime Voice Connector.
sourcepub fn build(self) -> VoiceConnector
pub fn build(self) -> VoiceConnector
Consumes the builder and constructs a VoiceConnector
.
Trait Implementations§
source§impl Clone for VoiceConnectorBuilder
impl Clone for VoiceConnectorBuilder
source§fn clone(&self) -> VoiceConnectorBuilder
fn clone(&self) -> VoiceConnectorBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VoiceConnectorBuilder
impl Debug for VoiceConnectorBuilder
source§impl Default for VoiceConnectorBuilder
impl Default for VoiceConnectorBuilder
source§fn default() -> VoiceConnectorBuilder
fn default() -> VoiceConnectorBuilder
source§impl PartialEq for VoiceConnectorBuilder
impl PartialEq for VoiceConnectorBuilder
source§fn eq(&self, other: &VoiceConnectorBuilder) -> bool
fn eq(&self, other: &VoiceConnectorBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VoiceConnectorBuilder
Auto Trait Implementations§
impl Freeze for VoiceConnectorBuilder
impl RefUnwindSafe for VoiceConnectorBuilder
impl Send for VoiceConnectorBuilder
impl Sync for VoiceConnectorBuilder
impl Unpin for VoiceConnectorBuilder
impl UnwindSafe for VoiceConnectorBuilder
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