Class CfnContactChannel.Builder
java.lang.Object
software.amazon.awscdk.services.ssmcontacts.CfnContactChannel.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnContactChannel>
- Enclosing class:
CfnContactChannel
@Stability(Stable)
public static final class CfnContactChannel.Builder
extends Object
implements software.amazon.jsii.Builder<CfnContactChannel>
A fluent builder for
CfnContactChannel
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
channelAddress
(String channelAddress) The details that Incident Manager uses when trying to engage the contact channel.channelName
(String channelName) The name of the contact channel.channelType
(String channelType) The type of the contact channel.The Amazon Resource Name (ARN) of the contact you are adding the contact channel to.static CfnContactChannel.Builder
deferActivation
(Boolean deferActivation) If you want to activate the channel at a later time, you can choose to defer activation.deferActivation
(IResolvable deferActivation) If you want to activate the channel at a later time, you can choose to defer activation.
-
Method Details
-
create
@Stability(Stable) public static CfnContactChannel.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
CfnContactChannel.Builder
.
-
channelAddress
The details that Incident Manager uses when trying to engage the contact channel.- Parameters:
channelAddress
- The details that Incident Manager uses when trying to engage the contact channel. This parameter is required.- Returns:
this
- See Also:
-
channelName
The name of the contact channel.- Parameters:
channelName
- The name of the contact channel. This parameter is required.- Returns:
this
- See Also:
-
channelType
The type of the contact channel. Incident Manager supports three contact methods:.- SMS
- VOICE
- Parameters:
channelType
- The type of the contact channel. Incident Manager supports three contact methods:. This parameter is required.- Returns:
this
- See Also:
-
contactId
The Amazon Resource Name (ARN) of the contact you are adding the contact channel to.- Parameters:
contactId
- The Amazon Resource Name (ARN) of the contact you are adding the contact channel to. This parameter is required.- Returns:
this
- See Also:
-
deferActivation
If you want to activate the channel at a later time, you can choose to defer activation.Incident Manager can't engage your contact channel until it has been activated.
- Parameters:
deferActivation
- If you want to activate the channel at a later time, you can choose to defer activation. This parameter is required.- Returns:
this
- See Also:
-
deferActivation
If you want to activate the channel at a later time, you can choose to defer activation.Incident Manager can't engage your contact channel until it has been activated.
- Parameters:
deferActivation
- If you want to activate the channel at a later time, you can choose to defer activation. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnContactChannel>
- Returns:
- a newly built instance of
CfnContactChannel
.
-