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.The type of contact.
-
Method Details
-
create
@Stability(Stable) public static CfnContact.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- 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
- See Also:
-
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
- See Also:
-
type
The type of contact.PERSONAL
: A single, individual contact.ESCALATION
: An escalation plan.ONCALL_SCHEDULE
: An on-call schedule.
- Parameters:
type
- The type of contact. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
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
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnContact>
- Returns:
- a newly built instance of
CfnContact
.
-