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 ==
.impl StructuralPartialEq for QuickConnectConfigBuilder
Auto Trait Implementations§
impl Freeze for QuickConnectConfigBuilder
impl RefUnwindSafe for QuickConnectConfigBuilder
impl Send for QuickConnectConfigBuilder
impl Sync for QuickConnectConfigBuilder
impl Unpin for QuickConnectConfigBuilder
impl UnwindSafe for QuickConnectConfigBuilder
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