Struct aws_sdk_connect::model::user_phone_config::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for UserPhoneConfig
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn phone_type(self, input: PhoneType) -> Self
pub fn phone_type(self, input: PhoneType) -> Self
The phone type.
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 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 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.
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.
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 build(self) -> UserPhoneConfig
pub fn build(self) -> UserPhoneConfig
Consumes the builder and constructs a UserPhoneConfig
.