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