Struct aws_sdk_connect::model::media_concurrency::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for MediaConcurrency
.
Implementations§
source§impl Builder
impl Builder
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).
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 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 build(self) -> MediaConcurrency
pub fn build(self) -> MediaConcurrency
Consumes the builder and constructs a MediaConcurrency
.