Struct aws_sdk_chime::types::builders::ProxyBuilder
source · #[non_exhaustive]pub struct ProxyBuilder { /* private fields */ }
Expand description
A builder for Proxy
.
Implementations§
source§impl ProxyBuilder
impl ProxyBuilder
sourcepub fn default_session_expiry_minutes(self, input: i32) -> Self
pub fn default_session_expiry_minutes(self, input: i32) -> Self
The default number of minutes allowed for proxy sessions.
sourcepub fn set_default_session_expiry_minutes(self, input: Option<i32>) -> Self
pub fn set_default_session_expiry_minutes(self, input: Option<i32>) -> Self
The default number of minutes allowed for proxy sessions.
sourcepub fn get_default_session_expiry_minutes(&self) -> &Option<i32>
pub fn get_default_session_expiry_minutes(&self) -> &Option<i32>
The default number of minutes allowed for proxy sessions.
sourcepub fn disabled(self, input: bool) -> Self
pub fn disabled(self, input: bool) -> Self
When true, stops proxy sessions from being created on the specified Amazon Chime Voice Connector.
sourcepub fn set_disabled(self, input: Option<bool>) -> Self
pub fn set_disabled(self, input: Option<bool>) -> Self
When true, stops proxy sessions from being created on the specified Amazon Chime Voice Connector.
sourcepub fn get_disabled(&self) -> &Option<bool>
pub fn get_disabled(&self) -> &Option<bool>
When true, stops proxy sessions from being created on the specified Amazon Chime Voice Connector.
sourcepub fn fall_back_phone_number(self, input: impl Into<String>) -> Self
pub fn fall_back_phone_number(self, input: impl Into<String>) -> Self
The phone number to route calls to after a proxy session expires.
sourcepub fn set_fall_back_phone_number(self, input: Option<String>) -> Self
pub fn set_fall_back_phone_number(self, input: Option<String>) -> Self
The phone number to route calls to after a proxy session expires.
sourcepub fn get_fall_back_phone_number(&self) -> &Option<String>
pub fn get_fall_back_phone_number(&self) -> &Option<String>
The phone number to route calls to after a proxy session expires.
sourcepub fn phone_number_countries(self, input: impl Into<String>) -> Self
pub fn phone_number_countries(self, input: impl Into<String>) -> Self
Appends an item to phone_number_countries
.
To override the contents of this collection use set_phone_number_countries
.
The countries for proxy phone numbers to be selected from.
sourcepub fn set_phone_number_countries(self, input: Option<Vec<String>>) -> Self
pub fn set_phone_number_countries(self, input: Option<Vec<String>>) -> Self
The countries for proxy phone numbers to be selected from.
sourcepub fn get_phone_number_countries(&self) -> &Option<Vec<String>>
pub fn get_phone_number_countries(&self) -> &Option<Vec<String>>
The countries for proxy phone numbers to be selected from.
Trait Implementations§
source§impl Clone for ProxyBuilder
impl Clone for ProxyBuilder
source§fn clone(&self) -> ProxyBuilder
fn clone(&self) -> ProxyBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ProxyBuilder
impl Debug for ProxyBuilder
source§impl Default for ProxyBuilder
impl Default for ProxyBuilder
source§fn default() -> ProxyBuilder
fn default() -> ProxyBuilder
source§impl PartialEq for ProxyBuilder
impl PartialEq for ProxyBuilder
source§fn eq(&self, other: &ProxyBuilder) -> bool
fn eq(&self, other: &ProxyBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ProxyBuilder
Auto Trait Implementations§
impl Freeze for ProxyBuilder
impl RefUnwindSafe for ProxyBuilder
impl Send for ProxyBuilder
impl Sync for ProxyBuilder
impl Unpin for ProxyBuilder
impl UnwindSafe for ProxyBuilder
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