public static final class CfnContactProps.Builder
extends java.lang.Object
CfnContactProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnContactProps.Builder |
alias(java.lang.String alias)
Sets the value of
CfnContactProps.getAlias() |
CfnContactProps |
build()
Builds the configured instance.
|
CfnContactProps.Builder |
displayName(java.lang.String displayName)
Sets the value of
CfnContactProps.getDisplayName() |
CfnContactProps.Builder |
plan(IResolvable plan)
Sets the value of
CfnContactProps.getPlan() |
CfnContactProps.Builder |
plan(java.util.List<? extends java.lang.Object> plan)
Sets the value of
CfnContactProps.getPlan() |
CfnContactProps.Builder |
type(java.lang.String type)
Sets the value of
CfnContactProps.getType() |
public CfnContactProps.Builder alias(java.lang.String alias)
CfnContactProps.getAlias()
alias
- The unique and identifiable alias of the contact or escalation plan. This parameter is required.this
public CfnContactProps.Builder displayName(java.lang.String displayName)
CfnContactProps.getDisplayName()
displayName
- The full name of the contact or escalation plan. This parameter is required.this
public CfnContactProps.Builder type(java.lang.String type)
CfnContactProps.getType()
type
- Refers to the type of contact. This parameter is required.
A single contact is type PERSONAL
and an escalation plan is type ESCALATION
.this
public CfnContactProps.Builder plan(IResolvable plan)
CfnContactProps.getPlan()
plan
- A list of stages.
A contact has an engagement plan with stages that contact specified contact channels. An escalation plan uses stages that contact specified contacts.this
public CfnContactProps.Builder plan(java.util.List<? extends java.lang.Object> plan)
CfnContactProps.getPlan()
plan
- A list of stages.
A contact has an engagement plan with stages that contact specified contact channels. An escalation plan uses stages that contact specified contacts.this
public CfnContactProps build()
CfnContactProps
java.lang.NullPointerException
- if any required attribute was not provided