Class CfnPlanMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ssmcontacts.CfnPlanMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPlanMixinProps>
- Enclosing interface:
CfnPlanMixinProps
@Stability(Stable)
public static final class CfnPlanMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPlanMixinProps>
A builder for
CfnPlanMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPlanMixinProps.getContactId()rotationIds(List<String> rotationIds) Sets the value ofCfnPlanMixinProps.getRotationIds()Sets the value ofCfnPlanMixinProps.getStages()stages(IResolvable stages) Sets the value ofCfnPlanMixinProps.getStages()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
contactId
Sets the value ofCfnPlanMixinProps.getContactId()- Parameters:
contactId- The Amazon Resource Name (ARN) of the contact.- Returns:
this
-
rotationIds
Sets the value ofCfnPlanMixinProps.getRotationIds()- Parameters:
rotationIds- The Amazon Resource Names (ARNs) of the on-call rotations associated with the plan.- Returns:
this
-
stages
Sets the value ofCfnPlanMixinProps.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 ofCfnPlanMixinProps.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<CfnPlanMixinProps>- Returns:
- a new instance of
CfnPlanMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-