Class CfnPlan.Builder

java.lang.Object
software.amazon.awscdk.services.ssmcontacts.CfnPlan.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPlan>
Enclosing class:
CfnPlan

@Stability(Stable) public static final class CfnPlan.Builder extends Object implements software.amazon.jsii.Builder<CfnPlan>
A fluent builder for CfnPlan.
  • Method Details

    • create

      @Stability(Stable) public static CfnPlan.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnPlan.Builder.
    • contactId

      @Stability(Stable) public CfnPlan.Builder contactId(String contactId)
      The Amazon Resource Name (ARN) of the contact.

      Parameters:
      contactId - The Amazon Resource Name (ARN) of the contact. This parameter is required.
      Returns:
      this
    • rotationIds

      @Stability(Stable) public CfnPlan.Builder rotationIds(List<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. This parameter is required.
      Returns:
      this
    • stages

      @Stability(Stable) public CfnPlan.Builder stages(IResolvable 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. This parameter is required.
      Returns:
      this
    • stages

      @Stability(Stable) public CfnPlan.Builder stages(List<? extends Object> 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. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnPlan build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnPlan>
      Returns:
      a newly built instance of CfnPlan.