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 ==
.