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 Summary
Modifier and TypeMethodDescriptionbuild()
The Amazon Resource Name (ARN) of the contact.static CfnPlan.Builder
rotationIds
(List<String> rotationIds) The Amazon Resource Names (ARNs) of the on-call rotations associated with the plan.A list of stages that the escalation plan or engagement plan uses to engage contacts and contact methods.stages
(IResolvable stages) A list of stages that the escalation plan or engagement plan uses to engage contacts and contact methods.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnPlan.Builder
.
-
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
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
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
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
-