public static final class CfnContact.ContactTargetInfoProperty.Builder
extends java.lang.Object
CfnContact.ContactTargetInfoProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnContact.ContactTargetInfoProperty |
build()
Builds the configured instance.
|
CfnContact.ContactTargetInfoProperty.Builder |
contactId(java.lang.String contactId)
Sets the value of
CfnContact.ContactTargetInfoProperty.getContactId() |
CfnContact.ContactTargetInfoProperty.Builder |
isEssential(java.lang.Boolean isEssential)
Sets the value of
CfnContact.ContactTargetInfoProperty.getIsEssential() |
CfnContact.ContactTargetInfoProperty.Builder |
isEssential(IResolvable isEssential)
Sets the value of
CfnContact.ContactTargetInfoProperty.getIsEssential() |
public CfnContact.ContactTargetInfoProperty.Builder contactId(java.lang.String contactId)
CfnContact.ContactTargetInfoProperty.getContactId()
contactId
- The Amazon Resource Name (ARN) of the contact. This parameter is required.this
public CfnContact.ContactTargetInfoProperty.Builder isEssential(java.lang.Boolean isEssential)
CfnContact.ContactTargetInfoProperty.getIsEssential()
isEssential
- A Boolean value determining if the contact's acknowledgement stops the progress of stages in the plan. This parameter is required.this
public CfnContact.ContactTargetInfoProperty.Builder isEssential(IResolvable isEssential)
CfnContact.ContactTargetInfoProperty.getIsEssential()
isEssential
- A Boolean value determining if the contact's acknowledgement stops the progress of stages in the plan. This parameter is required.this
public CfnContact.ContactTargetInfoProperty build()
CfnContact.ContactTargetInfoProperty
java.lang.NullPointerException
- if any required attribute was not provided