Struct aws_sdk_connect::types::builders::QuickConnectConfigBuilder
source · #[non_exhaustive]pub struct QuickConnectConfigBuilder { /* private fields */ }
Expand description
A builder for QuickConnectConfig
.
Implementations§
source§impl QuickConnectConfigBuilder
impl QuickConnectConfigBuilder
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 admin website, when you create a quick connect, you are prompted to assign one of the following types: Agent (USER), External (PHONE_NUMBER), or Queue (QUEUE).
This field is required.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 admin website, 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 get_quick_connect_type(&self) -> &Option<QuickConnectType>
pub fn get_quick_connect_type(&self) -> &Option<QuickConnectType>
The type of quick connect. In the Amazon Connect admin website, 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 get_user_config(&self) -> &Option<UserQuickConnectConfig>
pub fn get_user_config(&self) -> &Option<UserQuickConnectConfig>
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 get_queue_config(&self) -> &Option<QueueQuickConnectConfig>
pub fn get_queue_config(&self) -> &Option<QueueQuickConnectConfig>
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 get_phone_config(&self) -> &Option<PhoneNumberQuickConnectConfig>
pub fn get_phone_config(&self) -> &Option<PhoneNumberQuickConnectConfig>
The phone configuration. This is required only if QuickConnectType is PHONE_NUMBER.
sourcepub fn build(self) -> Result<QuickConnectConfig, BuildError>
pub fn build(self) -> Result<QuickConnectConfig, BuildError>
Consumes the builder and constructs a QuickConnectConfig
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for QuickConnectConfigBuilder
impl Clone for QuickConnectConfigBuilder
source§fn clone(&self) -> QuickConnectConfigBuilder
fn clone(&self) -> QuickConnectConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for QuickConnectConfigBuilder
impl Debug for QuickConnectConfigBuilder
source§impl Default for QuickConnectConfigBuilder
impl Default for QuickConnectConfigBuilder
source§fn default() -> QuickConnectConfigBuilder
fn default() -> QuickConnectConfigBuilder
source§impl PartialEq for QuickConnectConfigBuilder
impl PartialEq for QuickConnectConfigBuilder
source§fn eq(&self, other: &QuickConnectConfigBuilder) -> bool
fn eq(&self, other: &QuickConnectConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.