Class CfnPlanPropsMixin.ContactTargetInfoProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ssmcontacts.CfnPlanPropsMixin.ContactTargetInfoProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPlanPropsMixin.ContactTargetInfoProperty>
- Enclosing interface:
CfnPlanPropsMixin.ContactTargetInfoProperty
@Stability(Stable)
public static final class CfnPlanPropsMixin.ContactTargetInfoProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPlanPropsMixin.ContactTargetInfoProperty>
A builder for
CfnPlanPropsMixin.ContactTargetInfoProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPlanPropsMixin.ContactTargetInfoProperty.getContactId()isEssential(Boolean isEssential) Sets the value ofCfnPlanPropsMixin.ContactTargetInfoProperty.getIsEssential()isEssential(IResolvable isEssential) Sets the value ofCfnPlanPropsMixin.ContactTargetInfoProperty.getIsEssential()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
contactId
@Stability(Stable) public CfnPlanPropsMixin.ContactTargetInfoProperty.Builder contactId(String contactId) Sets the value ofCfnPlanPropsMixin.ContactTargetInfoProperty.getContactId()- Parameters:
contactId- The Amazon Resource Name (ARN) of the contact.- Returns:
this
-
isEssential
@Stability(Stable) public CfnPlanPropsMixin.ContactTargetInfoProperty.Builder isEssential(Boolean isEssential) Sets the value ofCfnPlanPropsMixin.ContactTargetInfoProperty.getIsEssential()- Parameters:
isEssential- A Boolean value determining if the contact's acknowledgement stops the progress of stages in the plan.- Returns:
this
-
isEssential
@Stability(Stable) public CfnPlanPropsMixin.ContactTargetInfoProperty.Builder isEssential(IResolvable isEssential) Sets the value ofCfnPlanPropsMixin.ContactTargetInfoProperty.getIsEssential()- Parameters:
isEssential- A Boolean value determining if the contact's acknowledgement stops the progress of stages in the plan.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPlanPropsMixin.ContactTargetInfoProperty>- Returns:
- a new instance of
CfnPlanPropsMixin.ContactTargetInfoProperty - Throws:
NullPointerException- if any required attribute was not provided
-