#[non_exhaustive]pub struct RoutingCriteriaInputBuilder { /* private fields */ }Expand description
A builder for RoutingCriteriaInput.
Implementations§
source§impl RoutingCriteriaInputBuilder
impl RoutingCriteriaInputBuilder
sourcepub fn steps(self, input: RoutingCriteriaInputStep) -> Self
pub fn steps(self, input: RoutingCriteriaInputStep) -> Self
Appends an item to steps.
To override the contents of this collection use set_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<RoutingCriteriaInputStep>>) -> Self
pub fn set_steps(self, input: Option<Vec<RoutingCriteriaInputStep>>) -> Self
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<RoutingCriteriaInputStep>>
pub fn get_steps(&self) -> &Option<Vec<RoutingCriteriaInputStep>>
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 build(self) -> RoutingCriteriaInput
pub fn build(self) -> RoutingCriteriaInput
Consumes the builder and constructs a RoutingCriteriaInput.
Trait Implementations§
source§impl Clone for RoutingCriteriaInputBuilder
impl Clone for RoutingCriteriaInputBuilder
source§fn clone(&self) -> RoutingCriteriaInputBuilder
fn clone(&self) -> RoutingCriteriaInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RoutingCriteriaInputBuilder
impl Debug for RoutingCriteriaInputBuilder
source§impl Default for RoutingCriteriaInputBuilder
impl Default for RoutingCriteriaInputBuilder
source§fn default() -> RoutingCriteriaInputBuilder
fn default() -> RoutingCriteriaInputBuilder
impl StructuralPartialEq for RoutingCriteriaInputBuilder
Auto Trait Implementations§
impl Freeze for RoutingCriteriaInputBuilder
impl RefUnwindSafe for RoutingCriteriaInputBuilder
impl Send for RoutingCriteriaInputBuilder
impl Sync for RoutingCriteriaInputBuilder
impl Unpin for RoutingCriteriaInputBuilder
impl UnwindSafe for RoutingCriteriaInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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