Class CfnContact.ContactTargetInfoProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ssmcontacts.CfnContact.ContactTargetInfoProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnContact.ContactTargetInfoProperty>
- Enclosing interface:
- CfnContact.ContactTargetInfoProperty
@Stability(Stable)
public static final class CfnContact.ContactTargetInfoProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnContact.ContactTargetInfoProperty>
A builder for
CfnContact.ContactTargetInfoProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnContact.ContactTargetInfoProperty.getContactId()isEssential(Boolean isEssential) Sets the value ofCfnContact.ContactTargetInfoProperty.getIsEssential()isEssential(IResolvable isEssential) Sets the value ofCfnContact.ContactTargetInfoProperty.getIsEssential()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
contactId
Sets the value ofCfnContact.ContactTargetInfoProperty.getContactId()- Parameters:
contactId- The Amazon Resource Name (ARN) of the contact. This parameter is required.- Returns:
this
-
isEssential
@Stability(Stable) public CfnContact.ContactTargetInfoProperty.Builder isEssential(Boolean isEssential) Sets the value ofCfnContact.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 CfnContact.ContactTargetInfoProperty.Builder isEssential(IResolvable isEssential) Sets the value ofCfnContact.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnContact.ContactTargetInfoProperty>- Returns:
- a new instance of
CfnContact.ContactTargetInfoProperty - Throws:
NullPointerException- if any required attribute was not provided
-