Interface Plan.Builder

    • Method Detail

      • 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).

        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:
        #stages(java.util.Collection)
      • 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.