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