Class CfnPlan.ChannelTargetInfoProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ssmcontacts.CfnPlan.ChannelTargetInfoProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPlan.ChannelTargetInfoProperty>
- Enclosing interface:
CfnPlan.ChannelTargetInfoProperty
@Stability(Stable)
public static final class CfnPlan.ChannelTargetInfoProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPlan.ChannelTargetInfoProperty>
A builder for
CfnPlan.ChannelTargetInfoProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnPlan.ChannelTargetInfoProperty.getChannelId()
retryIntervalInMinutes
(Number retryIntervalInMinutes) Sets the value ofCfnPlan.ChannelTargetInfoProperty.getRetryIntervalInMinutes()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
channelId
Sets the value ofCfnPlan.ChannelTargetInfoProperty.getChannelId()
- Parameters:
channelId
- The Amazon Resource Name (ARN) of the contact channel. This parameter is required.- Returns:
this
-
retryIntervalInMinutes
@Stability(Stable) public CfnPlan.ChannelTargetInfoProperty.Builder retryIntervalInMinutes(Number retryIntervalInMinutes) Sets the value ofCfnPlan.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<CfnPlan.ChannelTargetInfoProperty>
- Returns:
- a new instance of
CfnPlan.ChannelTargetInfoProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-