#[non_exhaustive]pub struct PutVoiceConnectorProxyInput {
pub voice_connector_id: Option<String>,
pub default_session_expiry_minutes: Option<i32>,
pub phone_number_pool_countries: Option<Vec<String>>,
pub fall_back_phone_number: Option<String>,
pub disabled: Option<bool>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.voice_connector_id: Option<String>
The Amazon Chime voice connector ID.
default_session_expiry_minutes: Option<i32>
The default number of minutes allowed for proxy sessions.
phone_number_pool_countries: Option<Vec<String>>
The countries for proxy phone numbers to be selected from.
fall_back_phone_number: Option<String>
The phone number to route calls to after a proxy session expires.
disabled: Option<bool>
When true, stops proxy sessions from being created on the specified Amazon Chime Voice Connector.
Implementations§
source§impl PutVoiceConnectorProxyInput
impl PutVoiceConnectorProxyInput
sourcepub fn voice_connector_id(&self) -> Option<&str>
pub fn voice_connector_id(&self) -> Option<&str>
The Amazon Chime voice connector ID.
sourcepub fn default_session_expiry_minutes(&self) -> Option<i32>
pub fn default_session_expiry_minutes(&self) -> Option<i32>
The default number of minutes allowed for proxy sessions.
sourcepub fn phone_number_pool_countries(&self) -> &[String]
pub fn phone_number_pool_countries(&self) -> &[String]
The countries for proxy phone numbers to be selected from.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .phone_number_pool_countries.is_none()
.
sourcepub fn fall_back_phone_number(&self) -> Option<&str>
pub fn fall_back_phone_number(&self) -> Option<&str>
The phone number to route calls to after a proxy session expires.
source§impl PutVoiceConnectorProxyInput
impl PutVoiceConnectorProxyInput
sourcepub fn builder() -> PutVoiceConnectorProxyInputBuilder
pub fn builder() -> PutVoiceConnectorProxyInputBuilder
Creates a new builder-style object to manufacture PutVoiceConnectorProxyInput
.
Trait Implementations§
source§impl Clone for PutVoiceConnectorProxyInput
impl Clone for PutVoiceConnectorProxyInput
source§fn clone(&self) -> PutVoiceConnectorProxyInput
fn clone(&self) -> PutVoiceConnectorProxyInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PutVoiceConnectorProxyInput
impl Debug for PutVoiceConnectorProxyInput
source§impl PartialEq for PutVoiceConnectorProxyInput
impl PartialEq for PutVoiceConnectorProxyInput
source§fn eq(&self, other: &PutVoiceConnectorProxyInput) -> bool
fn eq(&self, other: &PutVoiceConnectorProxyInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PutVoiceConnectorProxyInput
Auto Trait Implementations§
impl Freeze for PutVoiceConnectorProxyInput
impl RefUnwindSafe for PutVoiceConnectorProxyInput
impl Send for PutVoiceConnectorProxyInput
impl Sync for PutVoiceConnectorProxyInput
impl Unpin for PutVoiceConnectorProxyInput
impl UnwindSafe for PutVoiceConnectorProxyInput
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