Interface Stage.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Stage.Builder,Stage>, SdkBuilder<Stage.Builder,Stage>, SdkPojo
Enclosing class:
Stage

public static interface Stage.Builder extends SdkPojo, CopyableBuilder<Stage.Builder,Stage>
  • Method Details

    • durationInMinutes

      Stage.Builder durationInMinutes(Integer durationInMinutes)

      The time to wait until beginning the next stage. The duration can only be set to 0 if a target is specified.

      Parameters:
      durationInMinutes - The time to wait until beginning the next stage. The duration can only be set to 0 if a target is specified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targets

      Stage.Builder targets(Collection<Target> targets)

      The contacts or contact methods that the escalation plan or engagement plan is engaging.

      Parameters:
      targets - The contacts or contact methods that the escalation plan or engagement plan is engaging.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targets

      Stage.Builder targets(Target... targets)

      The contacts or contact methods that the escalation plan or engagement plan is engaging.

      Parameters:
      targets - The contacts or contact methods that the escalation plan or engagement plan is engaging.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targets

      Stage.Builder targets(Consumer<Target.Builder>... targets)

      The contacts or contact methods that the escalation plan or engagement plan is engaging.

      This is a convenience method that creates an instance of the Target.Builder avoiding the need to create one manually via Target.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to targets(List<Target>).

      Parameters:
      targets - a consumer that will call methods on Target.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: