Interface RoutingCriteria.Builder

    • 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 the Step.Builder avoiding the need to create one manually via Step.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #steps(List).

        Parameters:
        steps - a consumer that will call methods on Step.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.