public static final class CfnContact.Builder
extends java.lang.Object
CfnContact
.Modifier and Type | Method and Description |
---|---|
CfnContact.Builder |
alias(java.lang.String alias)
The unique and identifiable alias of the contact or escalation plan.
|
CfnContact |
build() |
static CfnContact.Builder |
create(Construct scope,
java.lang.String id) |
CfnContact.Builder |
displayName(java.lang.String displayName)
The full name of the contact or escalation plan.
|
CfnContact.Builder |
plan(IResolvable plan)
A list of stages.
|
CfnContact.Builder |
plan(java.util.List<? extends java.lang.Object> plan)
A list of stages.
|
CfnContact.Builder |
type(java.lang.String type)
Refers to the type of contact.
|
public static CfnContact.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnContact.ChannelTargetInfoProperty.Builder
.public CfnContact.Builder alias(java.lang.String alias)
alias
- The unique and identifiable alias of the contact or escalation plan. This parameter is required.this
public CfnContact.Builder displayName(java.lang.String displayName)
displayName
- The full name of the contact or escalation plan. This parameter is required.this
public CfnContact.Builder type(java.lang.String type)
A single contact is type PERSONAL
and an escalation plan is type ESCALATION
.
type
- Refers to the type of contact. This parameter is required.this
public CfnContact.Builder plan(IResolvable plan)
A contact has an engagement plan with stages that contact specified contact channels. An escalation plan uses stages that contact specified contacts.
plan
- A list of stages. This parameter is required.this
public CfnContact.Builder plan(java.util.List<? extends java.lang.Object> plan)
A contact has an engagement plan with stages that contact specified contact channels. An escalation plan uses stages that contact specified contacts.
plan
- A list of stages. This parameter is required.this
public CfnContact build()