Class CfnContact.Builder
java.lang.Object
software.amazon.awscdk.services.ssmcontacts.CfnContact.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnContact>
- Enclosing class:
- CfnContact
@Stability(Stable)
public static final class CfnContact.Builder
extends Object
implements software.amazon.jsii.Builder<CfnContact>
A fluent builder for
CfnContact
.-
Method Summary
Modifier and TypeMethodDescriptionThe unique and identifiable alias of the contact or escalation plan.build()
static CfnContact.Builder
displayName
(String displayName) The full name of the contact or escalation plan.A list of stages.plan
(IResolvable plan) A list of stages.Refers to the type of contact:.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnContact.Builder
.
-
alias
The unique and identifiable alias of the contact or escalation plan.- Parameters:
alias
- The unique and identifiable alias of the contact or escalation plan. This parameter is required.- Returns:
this
-
displayName
The full name of the contact or escalation plan.- Parameters:
displayName
- The full name of the contact or escalation plan. This parameter is required.- Returns:
this
-
type
Refers to the type of contact:.PERSONAL
: A single, individual contact.ESCALATION
: An escalation plan.ONCALL_SCHEDULE
: An on-call schedule.
- Parameters:
type
- Refers to the type of contact:. This parameter is required.- Returns:
this
-
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.
- Parameters:
plan
- A list of stages. This parameter is required.- Returns:
this
-
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.
- Parameters:
plan
- A list of stages. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnContact>
- Returns:
- a newly built instance of
CfnContact
.
-