Class CfnPlanProps.Builder
java.lang.Object
software.amazon.awscdk.services.ssmcontacts.CfnPlanProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPlanProps>
- Enclosing interface:
- CfnPlanProps
@Stability(Stable)
public static final class CfnPlanProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPlanProps>
A builder for
CfnPlanProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPlanProps.getContactId()rotationIds(List<String> rotationIds) Sets the value ofCfnPlanProps.getRotationIds()Sets the value ofCfnPlanProps.getStages()stages(IResolvable stages) Sets the value ofCfnPlanProps.getStages()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
contactId
Sets the value ofCfnPlanProps.getContactId()- Parameters:
contactId- The Amazon Resource Name (ARN) of the contact. This parameter is required.- Returns:
this
-
rotationIds
Sets the value ofCfnPlanProps.getRotationIds()- Parameters:
rotationIds- The Amazon Resource Names (ARNs) of the on-call rotations associated with the plan.- Returns:
this
-
stages
Sets the value ofCfnPlanProps.getStages()- Parameters:
stages- A list of stages that the escalation plan or engagement plan uses to engage contacts and contact methods.- Returns:
this
-
stages
Sets the value ofCfnPlanProps.getStages()- Parameters:
stages- A list of stages that the escalation plan or engagement plan uses to engage contacts and contact methods.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPlanProps>- Returns:
- a new instance of
CfnPlanProps - Throws:
NullPointerException- if any required attribute was not provided
-