Class CfnConfigurationSetProps.Builder
java.lang.Object
software.amazon.awscdk.services.smsvoice.CfnConfigurationSetProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfigurationSetProps>
- Enclosing interface:
CfnConfigurationSetProps
@Stability(Stable)
public static final class CfnConfigurationSetProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfigurationSetProps>
A builder for
CfnConfigurationSetProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.configurationSetName
(String configurationSetName) Sets the value ofCfnConfigurationSetProps.getConfigurationSetName()
defaultSenderId
(String defaultSenderId) Sets the value ofCfnConfigurationSetProps.getDefaultSenderId()
eventDestinations
(List<? extends Object> eventDestinations) Sets the value ofCfnConfigurationSetProps.getEventDestinations()
eventDestinations
(IResolvable eventDestinations) Sets the value ofCfnConfigurationSetProps.getEventDestinations()
messageFeedbackEnabled
(Boolean messageFeedbackEnabled) Sets the value ofCfnConfigurationSetProps.getMessageFeedbackEnabled()
messageFeedbackEnabled
(IResolvable messageFeedbackEnabled) Sets the value ofCfnConfigurationSetProps.getMessageFeedbackEnabled()
protectConfigurationId
(String protectConfigurationId) Sets the value ofCfnConfigurationSetProps.getProtectConfigurationId()
Sets the value ofCfnConfigurationSetProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
configurationSetName
@Stability(Stable) public CfnConfigurationSetProps.Builder configurationSetName(String configurationSetName) Sets the value ofCfnConfigurationSetProps.getConfigurationSetName()
- Parameters:
configurationSetName
- The name of the ConfigurationSet.- Returns:
this
-
defaultSenderId
Sets the value ofCfnConfigurationSetProps.getDefaultSenderId()
- Parameters:
defaultSenderId
- The default sender ID used by the ConfigurationSet.- Returns:
this
-
eventDestinations
@Stability(Stable) public CfnConfigurationSetProps.Builder eventDestinations(IResolvable eventDestinations) Sets the value ofCfnConfigurationSetProps.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 CfnConfigurationSetProps.Builder eventDestinations(List<? extends Object> eventDestinations) Sets the value ofCfnConfigurationSetProps.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 CfnConfigurationSetProps.Builder messageFeedbackEnabled(Boolean messageFeedbackEnabled) Sets the value ofCfnConfigurationSetProps.getMessageFeedbackEnabled()
- Parameters:
messageFeedbackEnabled
- Set to true to enable feedback for the message.- Returns:
this
-
messageFeedbackEnabled
@Stability(Stable) public CfnConfigurationSetProps.Builder messageFeedbackEnabled(IResolvable messageFeedbackEnabled) Sets the value ofCfnConfigurationSetProps.getMessageFeedbackEnabled()
- Parameters:
messageFeedbackEnabled
- Set to true to enable feedback for the message.- Returns:
this
-
protectConfigurationId
@Stability(Stable) public CfnConfigurationSetProps.Builder protectConfigurationId(String protectConfigurationId) Sets the value ofCfnConfigurationSetProps.getProtectConfigurationId()
- Parameters:
protectConfigurationId
- The unique identifier for the protect configuration.- Returns:
this
-
tags
Sets the value ofCfnConfigurationSetProps.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnConfigurationSetProps>
- Returns:
- a new instance of
CfnConfigurationSetProps
- Throws:
NullPointerException
- if any required attribute was not provided
-