Class CfnPlan.TargetsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ssmcontacts.CfnPlan.TargetsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPlan.TargetsProperty>
- Enclosing interface:
CfnPlan.TargetsProperty
@Stability(Stable)
public static final class CfnPlan.TargetsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPlan.TargetsProperty>
A builder for
CfnPlan.TargetsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.channelTargetInfo(IResolvable channelTargetInfo) Sets the value ofCfnPlan.TargetsProperty.getChannelTargetInfo()channelTargetInfo(CfnPlan.ChannelTargetInfoProperty channelTargetInfo) Sets the value ofCfnPlan.TargetsProperty.getChannelTargetInfo()contactTargetInfo(IResolvable contactTargetInfo) Sets the value ofCfnPlan.TargetsProperty.getContactTargetInfo()contactTargetInfo(CfnPlan.ContactTargetInfoProperty contactTargetInfo) Sets the value ofCfnPlan.TargetsProperty.getContactTargetInfo()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
channelTargetInfo
@Stability(Stable) public CfnPlan.TargetsProperty.Builder channelTargetInfo(IResolvable channelTargetInfo) Sets the value ofCfnPlan.TargetsProperty.getChannelTargetInfo()- Parameters:
channelTargetInfo- Information about the contact channel that Incident Manager engages.- Returns:
this
-
channelTargetInfo
@Stability(Stable) public CfnPlan.TargetsProperty.Builder channelTargetInfo(CfnPlan.ChannelTargetInfoProperty channelTargetInfo) Sets the value ofCfnPlan.TargetsProperty.getChannelTargetInfo()- Parameters:
channelTargetInfo- Information about the contact channel that Incident Manager engages.- Returns:
this
-
contactTargetInfo
@Stability(Stable) public CfnPlan.TargetsProperty.Builder contactTargetInfo(IResolvable contactTargetInfo) Sets the value ofCfnPlan.TargetsProperty.getContactTargetInfo()- Parameters:
contactTargetInfo- Information about the contact that Incident Manager engages.- Returns:
this
-
contactTargetInfo
@Stability(Stable) public CfnPlan.TargetsProperty.Builder contactTargetInfo(CfnPlan.ContactTargetInfoProperty contactTargetInfo) Sets the value ofCfnPlan.TargetsProperty.getContactTargetInfo()- Parameters:
contactTargetInfo- Information about the contact that Incident Manager engages.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPlan.TargetsProperty>- Returns:
- a new instance of
CfnPlan.TargetsProperty - Throws:
NullPointerException- if any required attribute was not provided
-