Interface Plan.Builder

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

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

    • stages

      Plan.Builder stages(Collection<Stage> stages)

      A list of stages that the escalation plan or engagement plan uses to engage contacts and contact methods.

      Parameters:
      stages - A list of stages that the escalation plan or engagement plan uses to engage contacts and contact methods.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stages

      Plan.Builder stages(Stage... stages)

      A list of stages that the escalation plan or engagement plan uses to engage contacts and contact methods.

      Parameters:
      stages - A list of stages that the escalation plan or engagement plan uses to engage contacts and contact methods.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stages

      Plan.Builder stages(Consumer<Stage.Builder>... stages)

      A list of stages that the escalation plan or engagement plan uses to engage contacts and contact methods.

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

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

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

      Plan.Builder rotationIds(Collection<String> rotationIds)

      The Amazon Resource Names (ARNs) of the on-call rotations associated with the plan.

      Parameters:
      rotationIds - The Amazon Resource Names (ARNs) of the on-call rotations associated with the plan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rotationIds

      Plan.Builder rotationIds(String... rotationIds)

      The Amazon Resource Names (ARNs) of the on-call rotations associated with the plan.

      Parameters:
      rotationIds - The Amazon Resource Names (ARNs) of the on-call rotations associated with the plan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.