Struct aws_sdk_connect::types::builders::UserPhoneConfigBuilder
source · #[non_exhaustive]pub struct UserPhoneConfigBuilder { /* private fields */ }
Expand description
A builder for UserPhoneConfig
.
Implementations§
source§impl UserPhoneConfigBuilder
impl UserPhoneConfigBuilder
sourcepub fn phone_type(self, input: PhoneType) -> Self
pub fn phone_type(self, input: PhoneType) -> Self
The phone type.
This field is required.sourcepub fn set_phone_type(self, input: Option<PhoneType>) -> Self
pub fn set_phone_type(self, input: Option<PhoneType>) -> Self
The phone type.
sourcepub fn get_phone_type(&self) -> &Option<PhoneType>
pub fn get_phone_type(&self) -> &Option<PhoneType>
The phone type.
sourcepub fn auto_accept(self, input: bool) -> Self
pub fn auto_accept(self, input: bool) -> Self
The Auto accept setting.
sourcepub fn set_auto_accept(self, input: Option<bool>) -> Self
pub fn set_auto_accept(self, input: Option<bool>) -> Self
The Auto accept setting.
sourcepub fn get_auto_accept(&self) -> &Option<bool>
pub fn get_auto_accept(&self) -> &Option<bool>
The Auto accept setting.
sourcepub fn after_contact_work_time_limit(self, input: i32) -> Self
pub fn after_contact_work_time_limit(self, input: i32) -> Self
The After Call Work (ACW) timeout setting, in seconds. This parameter has a minimum value of 0 and a maximum value of 2,000,000 seconds (24 days). Enter 0 if you don't want to allocate a specific amount of ACW time. It essentially means an indefinite amount of time. When the conversation ends, ACW starts; the agent must choose Close contact to end ACW.
When returned by a SearchUsers
call, AfterContactWorkTimeLimit
is returned in milliseconds.
sourcepub fn set_after_contact_work_time_limit(self, input: Option<i32>) -> Self
pub fn set_after_contact_work_time_limit(self, input: Option<i32>) -> Self
The After Call Work (ACW) timeout setting, in seconds. This parameter has a minimum value of 0 and a maximum value of 2,000,000 seconds (24 days). Enter 0 if you don't want to allocate a specific amount of ACW time. It essentially means an indefinite amount of time. When the conversation ends, ACW starts; the agent must choose Close contact to end ACW.
When returned by a SearchUsers
call, AfterContactWorkTimeLimit
is returned in milliseconds.
sourcepub fn get_after_contact_work_time_limit(&self) -> &Option<i32>
pub fn get_after_contact_work_time_limit(&self) -> &Option<i32>
The After Call Work (ACW) timeout setting, in seconds. This parameter has a minimum value of 0 and a maximum value of 2,000,000 seconds (24 days). Enter 0 if you don't want to allocate a specific amount of ACW time. It essentially means an indefinite amount of time. When the conversation ends, ACW starts; the agent must choose Close contact to end ACW.
When returned by a SearchUsers
call, AfterContactWorkTimeLimit
is returned in milliseconds.
sourcepub fn desk_phone_number(self, input: impl Into<String>) -> Self
pub fn desk_phone_number(self, input: impl Into<String>) -> Self
The phone number for the user's desk phone.
sourcepub fn set_desk_phone_number(self, input: Option<String>) -> Self
pub fn set_desk_phone_number(self, input: Option<String>) -> Self
The phone number for the user's desk phone.
sourcepub fn get_desk_phone_number(&self) -> &Option<String>
pub fn get_desk_phone_number(&self) -> &Option<String>
The phone number for the user's desk phone.
sourcepub fn build(self) -> Result<UserPhoneConfig, BuildError>
pub fn build(self) -> Result<UserPhoneConfig, BuildError>
Consumes the builder and constructs a UserPhoneConfig
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for UserPhoneConfigBuilder
impl Clone for UserPhoneConfigBuilder
source§fn clone(&self) -> UserPhoneConfigBuilder
fn clone(&self) -> UserPhoneConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UserPhoneConfigBuilder
impl Debug for UserPhoneConfigBuilder
source§impl Default for UserPhoneConfigBuilder
impl Default for UserPhoneConfigBuilder
source§fn default() -> UserPhoneConfigBuilder
fn default() -> UserPhoneConfigBuilder
source§impl PartialEq for UserPhoneConfigBuilder
impl PartialEq for UserPhoneConfigBuilder
source§fn eq(&self, other: &UserPhoneConfigBuilder) -> bool
fn eq(&self, other: &UserPhoneConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UserPhoneConfigBuilder
Auto Trait Implementations§
impl Freeze for UserPhoneConfigBuilder
impl RefUnwindSafe for UserPhoneConfigBuilder
impl Send for UserPhoneConfigBuilder
impl Sync for UserPhoneConfigBuilder
impl Unpin for UserPhoneConfigBuilder
impl UnwindSafe for UserPhoneConfigBuilder
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