Class CfnConfigurationSetMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.smsvoice.CfnConfigurationSetMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfigurationSetMixinProps>
- Enclosing interface:
CfnConfigurationSetMixinProps
@Stability(Stable)
public static final class CfnConfigurationSetMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfigurationSetMixinProps>
A builder for
CfnConfigurationSetMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.configurationSetName(String configurationSetName) Sets the value ofCfnConfigurationSetMixinProps.getConfigurationSetName()defaultSenderId(String defaultSenderId) Sets the value ofCfnConfigurationSetMixinProps.getDefaultSenderId()eventDestinations(List<? extends Object> eventDestinations) Sets the value ofCfnConfigurationSetMixinProps.getEventDestinations()eventDestinations(IResolvable eventDestinations) Sets the value ofCfnConfigurationSetMixinProps.getEventDestinations()messageFeedbackEnabled(Boolean messageFeedbackEnabled) Sets the value ofCfnConfigurationSetMixinProps.getMessageFeedbackEnabled()messageFeedbackEnabled(IResolvable messageFeedbackEnabled) Sets the value ofCfnConfigurationSetMixinProps.getMessageFeedbackEnabled()protectConfigurationId(String protectConfigurationId) Sets the value ofCfnConfigurationSetMixinProps.getProtectConfigurationId()Sets the value ofCfnConfigurationSetMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
configurationSetName
@Stability(Stable) public CfnConfigurationSetMixinProps.Builder configurationSetName(String configurationSetName) Sets the value ofCfnConfigurationSetMixinProps.getConfigurationSetName()- Parameters:
configurationSetName- The name of the ConfigurationSet.- Returns:
this
-
defaultSenderId
@Stability(Stable) public CfnConfigurationSetMixinProps.Builder defaultSenderId(String defaultSenderId) Sets the value ofCfnConfigurationSetMixinProps.getDefaultSenderId()- Parameters:
defaultSenderId- The default sender ID used by the ConfigurationSet.- Returns:
this
-
eventDestinations
@Stability(Stable) public CfnConfigurationSetMixinProps.Builder eventDestinations(IResolvable eventDestinations) Sets the value ofCfnConfigurationSetMixinProps.getEventDestinations()- Parameters:
eventDestinations- An array of EventDestination objects that describe any events to log and where to log them.- Returns:
this
-
eventDestinations
@Stability(Stable) public CfnConfigurationSetMixinProps.Builder eventDestinations(List<? extends Object> eventDestinations) Sets the value ofCfnConfigurationSetMixinProps.getEventDestinations()- Parameters:
eventDestinations- An array of EventDestination objects that describe any events to log and where to log them.- Returns:
this
-
messageFeedbackEnabled
@Stability(Stable) public CfnConfigurationSetMixinProps.Builder messageFeedbackEnabled(Boolean messageFeedbackEnabled) Sets the value ofCfnConfigurationSetMixinProps.getMessageFeedbackEnabled()- Parameters:
messageFeedbackEnabled- Set to true to enable feedback for the message.- Returns:
this
-
messageFeedbackEnabled
@Stability(Stable) public CfnConfigurationSetMixinProps.Builder messageFeedbackEnabled(IResolvable messageFeedbackEnabled) Sets the value ofCfnConfigurationSetMixinProps.getMessageFeedbackEnabled()- Parameters:
messageFeedbackEnabled- Set to true to enable feedback for the message.- Returns:
this
-
protectConfigurationId
@Stability(Stable) public CfnConfigurationSetMixinProps.Builder protectConfigurationId(String protectConfigurationId) Sets the value ofCfnConfigurationSetMixinProps.getProtectConfigurationId()- Parameters:
protectConfigurationId- The unique identifier for the protect configuration.- Returns:
this
-
tags
Sets the value ofCfnConfigurationSetMixinProps.getTags()- Parameters:
tags- An array of key and value pair tags that's associated with the new configuration set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConfigurationSetMixinProps>- Returns:
- a new instance of
CfnConfigurationSetMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-