Class CfnContact.ChannelTargetInfoProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ssmcontacts.CfnContact.ChannelTargetInfoProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnContact.ChannelTargetInfoProperty>
- Enclosing interface:
CfnContact.ChannelTargetInfoProperty
@Stability(Stable)
public static final class CfnContact.ChannelTargetInfoProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnContact.ChannelTargetInfoProperty>
A builder for
CfnContact.ChannelTargetInfoProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnContact.ChannelTargetInfoProperty.getChannelId()
retryIntervalInMinutes
(Number retryIntervalInMinutes) Sets the value ofCfnContact.ChannelTargetInfoProperty.getRetryIntervalInMinutes()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
channelId
Sets the value ofCfnContact.ChannelTargetInfoProperty.getChannelId()
- Parameters:
channelId
- The Amazon Resource Name (ARN) of the contact channel. This parameter is required.- Returns:
this
-
retryIntervalInMinutes
@Stability(Stable) public CfnContact.ChannelTargetInfoProperty.Builder retryIntervalInMinutes(Number retryIntervalInMinutes) Sets the value ofCfnContact.ChannelTargetInfoProperty.getRetryIntervalInMinutes()
- Parameters:
retryIntervalInMinutes
- The number of minutes to wait before retrying to send engagement if the engagement initially failed. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnContact.ChannelTargetInfoProperty>
- Returns:
- a new instance of
CfnContact.ChannelTargetInfoProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-