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