Class CfnContactChannelMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ssmcontacts.CfnContactChannelMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnContactChannelMixinProps>
- Enclosing interface:
CfnContactChannelMixinProps
@Stability(Stable)
public static final class CfnContactChannelMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnContactChannelMixinProps>
A builder for
CfnContactChannelMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.channelAddress(String channelAddress) Sets the value ofCfnContactChannelMixinProps.getChannelAddress()channelName(String channelName) Sets the value ofCfnContactChannelMixinProps.getChannelName()channelType(String channelType) Sets the value ofCfnContactChannelMixinProps.getChannelType()Sets the value ofCfnContactChannelMixinProps.getContactId()deferActivation(Boolean deferActivation) Sets the value ofCfnContactChannelMixinProps.getDeferActivation()deferActivation(IResolvable deferActivation) Sets the value ofCfnContactChannelMixinProps.getDeferActivation()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
channelAddress
Sets the value ofCfnContactChannelMixinProps.getChannelAddress()- Parameters:
channelAddress- The details that Incident Manager uses when trying to engage the contact channel.- Returns:
this
-
channelName
Sets the value ofCfnContactChannelMixinProps.getChannelName()- Parameters:
channelName- The name of the contact channel.- Returns:
this
-
channelType
Sets the value ofCfnContactChannelMixinProps.getChannelType()- Parameters:
channelType- The type of the contact channel. Incident Manager supports three contact methods:.- SMS
- VOICE
- Returns:
this
-
contactId
Sets the value ofCfnContactChannelMixinProps.getContactId()- Parameters:
contactId- The Amazon Resource Name (ARN) of the contact you are adding the contact channel to.- Returns:
this
-
deferActivation
@Stability(Stable) public CfnContactChannelMixinProps.Builder deferActivation(Boolean deferActivation) Sets the value ofCfnContactChannelMixinProps.getDeferActivation()- Parameters:
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.- Returns:
this
-
deferActivation
@Stability(Stable) public CfnContactChannelMixinProps.Builder deferActivation(IResolvable deferActivation) Sets the value ofCfnContactChannelMixinProps.getDeferActivation()- Parameters:
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.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnContactChannelMixinProps>- Returns:
- a new instance of
CfnContactChannelMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-