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 SummaryConstructors
- 
Method SummaryModifier 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- 
Builderpublic 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
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<CfnContact.TargetsProperty>
- Returns:
- a new instance of CfnContact.TargetsProperty
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-