Class CfnConfigurationSet.Builder
java.lang.Object
software.amazon.awscdk.services.smsvoice.CfnConfigurationSet.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfigurationSet>
- Enclosing class:
CfnConfigurationSet
@Stability(Stable)
public static final class CfnConfigurationSet.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfigurationSet>
A fluent builder for
CfnConfigurationSet
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
configurationSetName
(String configurationSetName) The name of the ConfigurationSet.static CfnConfigurationSet.Builder
defaultSenderId
(String defaultSenderId) The default sender ID used by the ConfigurationSet.eventDestinations
(List<? extends Object> eventDestinations) An array of EventDestination objects that describe any events to log and where to log them.eventDestinations
(IResolvable eventDestinations) An array of EventDestination objects that describe any events to log and where to log them.messageFeedbackEnabled
(Boolean messageFeedbackEnabled) Set to true to enable feedback for the message.messageFeedbackEnabled
(IResolvable messageFeedbackEnabled) Set to true to enable feedback for the message.protectConfigurationId
(String protectConfigurationId) The unique identifier for the protect configuration.An array of key and value pair tags that's associated with the new configuration set.
-
Method Details
-
create
@Stability(Stable) public static CfnConfigurationSet.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnConfigurationSet.Builder
.
-
configurationSetName
@Stability(Stable) public CfnConfigurationSet.Builder configurationSetName(String configurationSetName) The name of the ConfigurationSet.- Parameters:
configurationSetName
- The name of the ConfigurationSet. This parameter is required.- Returns:
this
- See Also:
-
defaultSenderId
The default sender ID used by the ConfigurationSet.- Parameters:
defaultSenderId
- The default sender ID used by the ConfigurationSet. This parameter is required.- Returns:
this
- See Also:
-
eventDestinations
@Stability(Stable) public CfnConfigurationSet.Builder eventDestinations(IResolvable eventDestinations) An array of EventDestination objects that describe any events to log and where to log them.- Parameters:
eventDestinations
- An array of EventDestination objects that describe any events to log and where to log them. This parameter is required.- Returns:
this
- See Also:
-
eventDestinations
@Stability(Stable) public CfnConfigurationSet.Builder eventDestinations(List<? extends Object> eventDestinations) An array of EventDestination objects that describe any events to log and where to log them.- Parameters:
eventDestinations
- An array of EventDestination objects that describe any events to log and where to log them. This parameter is required.- Returns:
this
- See Also:
-
messageFeedbackEnabled
@Stability(Stable) public CfnConfigurationSet.Builder messageFeedbackEnabled(Boolean messageFeedbackEnabled) Set to true to enable feedback for the message.- Parameters:
messageFeedbackEnabled
- Set to true to enable feedback for the message. This parameter is required.- Returns:
this
- See Also:
-
messageFeedbackEnabled
@Stability(Stable) public CfnConfigurationSet.Builder messageFeedbackEnabled(IResolvable messageFeedbackEnabled) Set to true to enable feedback for the message.- Parameters:
messageFeedbackEnabled
- Set to true to enable feedback for the message. This parameter is required.- Returns:
this
- See Also:
-
protectConfigurationId
@Stability(Stable) public CfnConfigurationSet.Builder protectConfigurationId(String protectConfigurationId) The unique identifier for the protect configuration.- Parameters:
protectConfigurationId
- The unique identifier for the protect configuration. This parameter is required.- Returns:
this
- See Also:
-
tags
An array of key and value pair tags that's associated with the new configuration set.- Parameters:
tags
- An array of key and value pair tags that's associated with the new configuration set. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnConfigurationSet>
- Returns:
- a newly built instance of
CfnConfigurationSet
.
-