#[non_exhaustive]pub struct RoutingProfileQueueConfigBuilder { /* private fields */ }
Expand description
A builder for RoutingProfileQueueConfig
.
Implementations§
source§impl RoutingProfileQueueConfigBuilder
impl RoutingProfileQueueConfigBuilder
sourcepub fn queue_reference(self, input: RoutingProfileQueueReference) -> Self
pub fn queue_reference(self, input: RoutingProfileQueueReference) -> Self
Contains information about a queue resource.
This field is required.sourcepub fn set_queue_reference(
self,
input: Option<RoutingProfileQueueReference>
) -> Self
pub fn set_queue_reference( self, input: Option<RoutingProfileQueueReference> ) -> Self
Contains information about a queue resource.
sourcepub fn get_queue_reference(&self) -> &Option<RoutingProfileQueueReference>
pub fn get_queue_reference(&self) -> &Option<RoutingProfileQueueReference>
Contains information about a queue resource.
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, 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, 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, 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 build(self) -> Result<RoutingProfileQueueConfig, BuildError>
pub fn build(self) -> Result<RoutingProfileQueueConfig, BuildError>
Consumes the builder and constructs a RoutingProfileQueueConfig
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for RoutingProfileQueueConfigBuilder
impl Clone for RoutingProfileQueueConfigBuilder
source§fn clone(&self) -> RoutingProfileQueueConfigBuilder
fn clone(&self) -> RoutingProfileQueueConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for RoutingProfileQueueConfigBuilder
impl Default for RoutingProfileQueueConfigBuilder
source§fn default() -> RoutingProfileQueueConfigBuilder
fn default() -> RoutingProfileQueueConfigBuilder
source§impl PartialEq for RoutingProfileQueueConfigBuilder
impl PartialEq for RoutingProfileQueueConfigBuilder
source§fn eq(&self, other: &RoutingProfileQueueConfigBuilder) -> bool
fn eq(&self, other: &RoutingProfileQueueConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RoutingProfileQueueConfigBuilder
Auto Trait Implementations§
impl Freeze for RoutingProfileQueueConfigBuilder
impl RefUnwindSafe for RoutingProfileQueueConfigBuilder
impl Send for RoutingProfileQueueConfigBuilder
impl Sync for RoutingProfileQueueConfigBuilder
impl Unpin for RoutingProfileQueueConfigBuilder
impl UnwindSafe for RoutingProfileQueueConfigBuilder
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