#[non_exhaustive]pub struct RoutingProfileQueueConfigSummaryBuilder { /* private fields */ }
Expand description
A builder for RoutingProfileQueueConfigSummary
.
Implementations§
source§impl RoutingProfileQueueConfigSummaryBuilder
impl RoutingProfileQueueConfigSummaryBuilder
sourcepub fn queue_id(self, input: impl Into<String>) -> Self
pub fn queue_id(self, input: impl Into<String>) -> Self
The identifier for the queue.
This field is required.sourcepub fn set_queue_id(self, input: Option<String>) -> Self
pub fn set_queue_id(self, input: Option<String>) -> Self
The identifier for the queue.
sourcepub fn get_queue_id(&self) -> &Option<String>
pub fn get_queue_id(&self) -> &Option<String>
The identifier for the queue.
sourcepub fn queue_arn(self, input: impl Into<String>) -> Self
pub fn queue_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the queue.
This field is required.sourcepub fn set_queue_arn(self, input: Option<String>) -> Self
pub fn set_queue_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the queue.
sourcepub fn get_queue_arn(&self) -> &Option<String>
pub fn get_queue_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the queue.
sourcepub fn queue_name(self, input: impl Into<String>) -> Self
pub fn queue_name(self, input: impl Into<String>) -> Self
The name of the queue.
This field is required.sourcepub fn set_queue_name(self, input: Option<String>) -> Self
pub fn set_queue_name(self, input: Option<String>) -> Self
The name of the queue.
sourcepub fn get_queue_name(&self) -> &Option<String>
pub fn get_queue_name(&self) -> &Option<String>
The name of the queue.
sourcepub fn priority(self, input: i32) -> Self
pub fn priority(self, input: i32) -> Self
The order in which contacts are to be handled for the queue. For more information, see Queues: priority and delay.
This field is required.sourcepub fn set_priority(self, input: Option<i32>) -> Self
pub fn set_priority(self, input: Option<i32>) -> Self
The order in which contacts are to be handled for the queue. For more information, see Queues: priority and delay.
sourcepub fn get_priority(&self) -> &Option<i32>
pub fn get_priority(&self) -> &Option<i32>
The order in which contacts are to be handled for the queue. For more information, see Queues: priority and delay.
sourcepub fn delay(self, input: i32) -> Self
pub fn delay(self, input: i32) -> Self
The delay, in seconds, that a contact should be in the queue before they are routed to an available agent. For more information, see Queues: priority and delay in the Amazon Connect Administrator Guide.
This field is required.sourcepub fn set_delay(self, input: Option<i32>) -> Self
pub fn set_delay(self, input: Option<i32>) -> Self
The delay, in seconds, that a contact should be in the queue before they are routed to an available agent. For more information, see Queues: priority and delay in the Amazon Connect Administrator Guide.
sourcepub fn get_delay(&self) -> &Option<i32>
pub fn get_delay(&self) -> &Option<i32>
The delay, in seconds, that a contact should be in the queue before they are routed to an available agent. For more information, see Queues: priority and delay in the Amazon Connect Administrator Guide.
sourcepub fn channel(self, input: Channel) -> Self
pub fn channel(self, input: Channel) -> Self
The channels this queue supports.
This field is required.sourcepub fn set_channel(self, input: Option<Channel>) -> Self
pub fn set_channel(self, input: Option<Channel>) -> Self
The channels this queue supports.
sourcepub fn get_channel(&self) -> &Option<Channel>
pub fn get_channel(&self) -> &Option<Channel>
The channels this queue supports.
sourcepub fn build(self) -> Result<RoutingProfileQueueConfigSummary, BuildError>
pub fn build(self) -> Result<RoutingProfileQueueConfigSummary, BuildError>
Consumes the builder and constructs a RoutingProfileQueueConfigSummary
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for RoutingProfileQueueConfigSummaryBuilder
impl Clone for RoutingProfileQueueConfigSummaryBuilder
source§fn clone(&self) -> RoutingProfileQueueConfigSummaryBuilder
fn clone(&self) -> RoutingProfileQueueConfigSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for RoutingProfileQueueConfigSummaryBuilder
impl Default for RoutingProfileQueueConfigSummaryBuilder
source§fn default() -> RoutingProfileQueueConfigSummaryBuilder
fn default() -> RoutingProfileQueueConfigSummaryBuilder
source§impl PartialEq for RoutingProfileQueueConfigSummaryBuilder
impl PartialEq for RoutingProfileQueueConfigSummaryBuilder
source§fn eq(&self, other: &RoutingProfileQueueConfigSummaryBuilder) -> bool
fn eq(&self, other: &RoutingProfileQueueConfigSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.