Struct aws_sdk_connect::types::builders::MediaConcurrencyBuilder
source · #[non_exhaustive]pub struct MediaConcurrencyBuilder { /* private fields */ }Expand description
A builder for MediaConcurrency.
Implementations§
source§impl MediaConcurrencyBuilder
impl MediaConcurrencyBuilder
sourcepub fn channel(self, input: Channel) -> Self
pub fn channel(self, input: Channel) -> Self
The channels that agents can handle in the Contact Control Panel (CCP).
This field is required.sourcepub fn set_channel(self, input: Option<Channel>) -> Self
pub fn set_channel(self, input: Option<Channel>) -> Self
The channels that agents can handle in the Contact Control Panel (CCP).
sourcepub fn get_channel(&self) -> &Option<Channel>
pub fn get_channel(&self) -> &Option<Channel>
The channels that agents can handle in the Contact Control Panel (CCP).
sourcepub fn concurrency(self, input: i32) -> Self
pub fn concurrency(self, input: i32) -> Self
The number of contacts an agent can have on a channel simultaneously.
Valid Range for VOICE: Minimum value of 1. Maximum value of 1.
Valid Range for CHAT: Minimum value of 1. Maximum value of 10.
Valid Range for TASK: Minimum value of 1. Maximum value of 10.
sourcepub fn set_concurrency(self, input: Option<i32>) -> Self
pub fn set_concurrency(self, input: Option<i32>) -> Self
The number of contacts an agent can have on a channel simultaneously.
Valid Range for VOICE: Minimum value of 1. Maximum value of 1.
Valid Range for CHAT: Minimum value of 1. Maximum value of 10.
Valid Range for TASK: Minimum value of 1. Maximum value of 10.
sourcepub fn get_concurrency(&self) -> &Option<i32>
pub fn get_concurrency(&self) -> &Option<i32>
The number of contacts an agent can have on a channel simultaneously.
Valid Range for VOICE: Minimum value of 1. Maximum value of 1.
Valid Range for CHAT: Minimum value of 1. Maximum value of 10.
Valid Range for TASK: Minimum value of 1. Maximum value of 10.
sourcepub fn cross_channel_behavior(self, input: CrossChannelBehavior) -> Self
pub fn cross_channel_behavior(self, input: CrossChannelBehavior) -> Self
Defines the cross-channel routing behavior for each channel that is enabled for this Routing Profile. For example, this allows you to offer an agent a different contact from another channel when they are currently working with a contact from a Voice channel.
sourcepub fn set_cross_channel_behavior(
self,
input: Option<CrossChannelBehavior>
) -> Self
pub fn set_cross_channel_behavior( self, input: Option<CrossChannelBehavior> ) -> Self
Defines the cross-channel routing behavior for each channel that is enabled for this Routing Profile. For example, this allows you to offer an agent a different contact from another channel when they are currently working with a contact from a Voice channel.
sourcepub fn get_cross_channel_behavior(&self) -> &Option<CrossChannelBehavior>
pub fn get_cross_channel_behavior(&self) -> &Option<CrossChannelBehavior>
Defines the cross-channel routing behavior for each channel that is enabled for this Routing Profile. For example, this allows you to offer an agent a different contact from another channel when they are currently working with a contact from a Voice channel.
sourcepub fn build(self) -> Result<MediaConcurrency, BuildError>
pub fn build(self) -> Result<MediaConcurrency, BuildError>
Consumes the builder and constructs a MediaConcurrency.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for MediaConcurrencyBuilder
impl Clone for MediaConcurrencyBuilder
source§fn clone(&self) -> MediaConcurrencyBuilder
fn clone(&self) -> MediaConcurrencyBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for MediaConcurrencyBuilder
impl Debug for MediaConcurrencyBuilder
source§impl Default for MediaConcurrencyBuilder
impl Default for MediaConcurrencyBuilder
source§fn default() -> MediaConcurrencyBuilder
fn default() -> MediaConcurrencyBuilder
source§impl PartialEq for MediaConcurrencyBuilder
impl PartialEq for MediaConcurrencyBuilder
source§fn eq(&self, other: &MediaConcurrencyBuilder) -> bool
fn eq(&self, other: &MediaConcurrencyBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for MediaConcurrencyBuilder
Auto Trait Implementations§
impl Freeze for MediaConcurrencyBuilder
impl RefUnwindSafe for MediaConcurrencyBuilder
impl Send for MediaConcurrencyBuilder
impl Sync for MediaConcurrencyBuilder
impl Unpin for MediaConcurrencyBuilder
impl UnwindSafe for MediaConcurrencyBuilder
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