Class CfnContact.StageProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ssmcontacts.CfnContact.StageProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnContact.StageProperty>
- Enclosing interface:
CfnContact.StageProperty
@Stability(Stable)
public static final class CfnContact.StageProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnContact.StageProperty>
A builder for
CfnContact.StageProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.durationInMinutes(Number durationInMinutes) Sets the value ofCfnContact.StageProperty.getDurationInMinutes()rotationIds(List<String> rotationIds) Sets the value ofCfnContact.StageProperty.getRotationIds()Sets the value ofCfnContact.StageProperty.getTargets()targets(IResolvable targets) Sets the value ofCfnContact.StageProperty.getTargets()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
durationInMinutes
@Stability(Stable) public CfnContact.StageProperty.Builder durationInMinutes(Number durationInMinutes) Sets the value ofCfnContact.StageProperty.getDurationInMinutes()- Parameters:
durationInMinutes- The time to wait until beginning the next stage. The duration can only be set to 0 if a target is specified.- Returns:
this
-
rotationIds
Sets the value ofCfnContact.StageProperty.getRotationIds()- Parameters:
rotationIds- The Amazon Resource Names (ARNs) of the on-call rotations associated with the plan.- Returns:
this
-
targets
Sets the value ofCfnContact.StageProperty.getTargets()- Parameters:
targets- The contacts or contact methods that the escalation plan or engagement plan is engaging.- Returns:
this
-
targets
Sets the value ofCfnContact.StageProperty.getTargets()- Parameters:
targets- The contacts or contact methods that the escalation plan or engagement plan is engaging.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnContact.StageProperty>- Returns:
- a new instance of
CfnContact.StageProperty - Throws:
NullPointerException- if any required attribute was not provided
-