Interface RoutingCriteria.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RoutingCriteria.Builder,RoutingCriteria>,SdkBuilder<RoutingCriteria.Builder,RoutingCriteria>,SdkPojo
- Enclosing class:
- RoutingCriteria
public static interface RoutingCriteria.Builder extends SdkPojo, CopyableBuilder<RoutingCriteria.Builder,RoutingCriteria>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RoutingCriteria.BuilderactivationTimestamp(Instant activationTimestamp)The timestamp indicating when the routing criteria is set to active.RoutingCriteria.Builderindex(Integer index)Information about the index of the routing criteria.RoutingCriteria.Buildersteps(Collection<Step> steps)List of routing steps.RoutingCriteria.Buildersteps(Consumer<Step.Builder>... steps)List of routing steps.RoutingCriteria.Buildersteps(Step... steps)List of routing steps.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
steps
RoutingCriteria.Builder steps(Collection<Step> 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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
steps
RoutingCriteria.Builder steps(Step... 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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
steps
RoutingCriteria.Builder steps(Consumer<Step.Builder>... 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.
This is a convenience method that creates an instance of theStep.Builderavoiding the need to create one manually viaStep.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#steps(List.) - Parameters:
steps- a consumer that will call methods onStep.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#steps(java.util.Collection)
-
activationTimestamp
RoutingCriteria.Builder activationTimestamp(Instant activationTimestamp)
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.
- Parameters:
activationTimestamp- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
index
RoutingCriteria.Builder index(Integer index)
Information about the index of the routing criteria.
- Parameters:
index- Information about the index of the routing criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-