Class CfnProtectConfiguration.Builder
java.lang.Object
software.amazon.awscdk.services.smsvoice.CfnProtectConfiguration.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProtectConfiguration>
- Enclosing class:
CfnProtectConfiguration
@Stability(Stable)
public static final class CfnProtectConfiguration.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProtectConfiguration>
A fluent builder for
CfnProtectConfiguration
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
countryRuleSet
(IResolvable countryRuleSet) The set ofCountryRules
you specify to control which countries End User Messaging can send your messages to.countryRuleSet
(CfnProtectConfiguration.CountryRuleSetProperty countryRuleSet) The set ofCountryRules
you specify to control which countries End User Messaging can send your messages to.deletionProtectionEnabled
(Boolean deletionProtectionEnabled) The status of deletion protection for the protect configuration.deletionProtectionEnabled
(IResolvable deletionProtectionEnabled) The status of deletion protection for the protect configuration.An array of key and value pair tags that are associated with the resource.
-
Method Details
-
create
@Stability(Stable) public static CfnProtectConfiguration.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
CfnProtectConfiguration.Builder
.
-
countryRuleSet
@Stability(Stable) public CfnProtectConfiguration.Builder countryRuleSet(IResolvable countryRuleSet) The set ofCountryRules
you specify to control which countries End User Messaging can send your messages to.- Parameters:
countryRuleSet
- The set ofCountryRules
you specify to control which countries End User Messaging can send your messages to. This parameter is required.- Returns:
this
- See Also:
-
countryRuleSet
@Stability(Stable) public CfnProtectConfiguration.Builder countryRuleSet(CfnProtectConfiguration.CountryRuleSetProperty countryRuleSet) The set ofCountryRules
you specify to control which countries End User Messaging can send your messages to.- Parameters:
countryRuleSet
- The set ofCountryRules
you specify to control which countries End User Messaging can send your messages to. This parameter is required.- Returns:
this
- See Also:
-
deletionProtectionEnabled
@Stability(Stable) public CfnProtectConfiguration.Builder deletionProtectionEnabled(Boolean deletionProtectionEnabled) The status of deletion protection for the protect configuration.When set to true deletion protection is enabled. By default this is set to false.
- Parameters:
deletionProtectionEnabled
- The status of deletion protection for the protect configuration. This parameter is required.- Returns:
this
- See Also:
-
deletionProtectionEnabled
@Stability(Stable) public CfnProtectConfiguration.Builder deletionProtectionEnabled(IResolvable deletionProtectionEnabled) The status of deletion protection for the protect configuration.When set to true deletion protection is enabled. By default this is set to false.
- Parameters:
deletionProtectionEnabled
- The status of deletion protection for the protect configuration. This parameter is required.- Returns:
this
- See Also:
-
tags
An array of key and value pair tags that are associated with the resource.- Parameters:
tags
- An array of key and value pair tags that are associated with the resource. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnProtectConfiguration>
- Returns:
- a newly built instance of
CfnProtectConfiguration
.
-