Struct aws_sdk_connect::types::builders::RoutingCriteriaBuilder
source · #[non_exhaustive]pub struct RoutingCriteriaBuilder { /* private fields */ }Expand description
A builder for RoutingCriteria.
Implementations§
source§impl RoutingCriteriaBuilder
impl RoutingCriteriaBuilder
sourcepub fn steps(self, input: Step) -> Self
pub fn steps(self, input: Step) -> Self
Appends an item to steps.
To override the contents of this collection use set_steps.
List of routing steps. When Amazon Connect does not find an available agent meeting the requirements in a step for a given step duration, the routing criteria will move on to the next step sequentially until a join is completed with an agent. When all steps are exhausted, the contact will be offered to any agent in the queue.
sourcepub fn set_steps(self, input: Option<Vec<Step>>) -> Self
pub fn set_steps(self, input: Option<Vec<Step>>) -> Self
List of routing steps. When Amazon Connect does not find an available agent meeting the requirements in a step for a given step duration, the routing criteria will move on to the next step sequentially until a join is completed with an agent. When all steps are exhausted, the contact will be offered to any agent in the queue.
sourcepub fn get_steps(&self) -> &Option<Vec<Step>>
pub fn get_steps(&self) -> &Option<Vec<Step>>
List of routing steps. When Amazon Connect does not find an available agent meeting the requirements in a step for a given step duration, the routing criteria will move on to the next step sequentially until a join is completed with an agent. When all steps are exhausted, the contact will be offered to any agent in the queue.
sourcepub fn activation_timestamp(self, input: DateTime) -> Self
pub fn activation_timestamp(self, input: DateTime) -> Self
The timestamp indicating when the routing criteria is set to active. A routing criteria is activated when contact is transferred to a queue. ActivationTimestamp will be set on routing criteria for contacts in agent queue even though Routing criteria is never activated for contacts in agent queue.
sourcepub fn set_activation_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_activation_timestamp(self, input: Option<DateTime>) -> Self
The timestamp indicating when the routing criteria is set to active. A routing criteria is activated when contact is transferred to a queue. ActivationTimestamp will be set on routing criteria for contacts in agent queue even though Routing criteria is never activated for contacts in agent queue.
sourcepub fn get_activation_timestamp(&self) -> &Option<DateTime>
pub fn get_activation_timestamp(&self) -> &Option<DateTime>
The timestamp indicating when the routing criteria is set to active. A routing criteria is activated when contact is transferred to a queue. ActivationTimestamp will be set on routing criteria for contacts in agent queue even though Routing criteria is never activated for contacts in agent queue.
sourcepub fn set_index(self, input: Option<i32>) -> Self
pub fn set_index(self, input: Option<i32>) -> Self
Information about the index of the routing criteria.
sourcepub fn build(self) -> RoutingCriteria
pub fn build(self) -> RoutingCriteria
Consumes the builder and constructs a RoutingCriteria.
Trait Implementations§
source§impl Clone for RoutingCriteriaBuilder
impl Clone for RoutingCriteriaBuilder
source§fn clone(&self) -> RoutingCriteriaBuilder
fn clone(&self) -> RoutingCriteriaBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RoutingCriteriaBuilder
impl Debug for RoutingCriteriaBuilder
source§impl Default for RoutingCriteriaBuilder
impl Default for RoutingCriteriaBuilder
source§fn default() -> RoutingCriteriaBuilder
fn default() -> RoutingCriteriaBuilder
source§impl PartialEq for RoutingCriteriaBuilder
impl PartialEq for RoutingCriteriaBuilder
source§fn eq(&self, other: &RoutingCriteriaBuilder) -> bool
fn eq(&self, other: &RoutingCriteriaBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RoutingCriteriaBuilder
Auto Trait Implementations§
impl Freeze for RoutingCriteriaBuilder
impl RefUnwindSafe for RoutingCriteriaBuilder
impl Send for RoutingCriteriaBuilder
impl Sync for RoutingCriteriaBuilder
impl Unpin for RoutingCriteriaBuilder
impl UnwindSafe for RoutingCriteriaBuilder
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