Struct aws_sdk_connect::model::quick_connect_config::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for QuickConnectConfig
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn quick_connect_type(self, input: QuickConnectType) -> Self
pub fn quick_connect_type(self, input: QuickConnectType) -> Self
The type of quick connect. In the Amazon Connect console, when you create a quick connect, you are prompted to assign one of the following types: Agent (USER), External (PHONE_NUMBER), or Queue (QUEUE).
sourcepub fn set_quick_connect_type(self, input: Option<QuickConnectType>) -> Self
pub fn set_quick_connect_type(self, input: Option<QuickConnectType>) -> Self
The type of quick connect. In the Amazon Connect console, when you create a quick connect, you are prompted to assign one of the following types: Agent (USER), External (PHONE_NUMBER), or Queue (QUEUE).
sourcepub fn user_config(self, input: UserQuickConnectConfig) -> Self
pub fn user_config(self, input: UserQuickConnectConfig) -> Self
The user configuration. This is required only if QuickConnectType is USER.
sourcepub fn set_user_config(self, input: Option<UserQuickConnectConfig>) -> Self
pub fn set_user_config(self, input: Option<UserQuickConnectConfig>) -> Self
The user configuration. This is required only if QuickConnectType is USER.
sourcepub fn queue_config(self, input: QueueQuickConnectConfig) -> Self
pub fn queue_config(self, input: QueueQuickConnectConfig) -> Self
The queue configuration. This is required only if QuickConnectType is QUEUE.
sourcepub fn set_queue_config(self, input: Option<QueueQuickConnectConfig>) -> Self
pub fn set_queue_config(self, input: Option<QueueQuickConnectConfig>) -> Self
The queue configuration. This is required only if QuickConnectType is QUEUE.
sourcepub fn phone_config(self, input: PhoneNumberQuickConnectConfig) -> Self
pub fn phone_config(self, input: PhoneNumberQuickConnectConfig) -> Self
The phone configuration. This is required only if QuickConnectType is PHONE_NUMBER.
sourcepub fn set_phone_config(
self,
input: Option<PhoneNumberQuickConnectConfig>
) -> Self
pub fn set_phone_config(
self,
input: Option<PhoneNumberQuickConnectConfig>
) -> Self
The phone configuration. This is required only if QuickConnectType is PHONE_NUMBER.
sourcepub fn build(self) -> QuickConnectConfig
pub fn build(self) -> QuickConnectConfig
Consumes the builder and constructs a QuickConnectConfig
.