Class CfnProtectConfigurationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.smsvoice.CfnProtectConfigurationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProtectConfigurationMixinProps>
- Enclosing interface:
CfnProtectConfigurationMixinProps
@Stability(Stable)
public static final class CfnProtectConfigurationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProtectConfigurationMixinProps>
A builder for
CfnProtectConfigurationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnProtectConfigurationMixinProps.getCountryRuleSet()countryRuleSet(IResolvable countryRuleSet) Sets the value ofCfnProtectConfigurationMixinProps.getCountryRuleSet()deletionProtectionEnabled(Boolean deletionProtectionEnabled) Sets the value ofCfnProtectConfigurationMixinProps.getDeletionProtectionEnabled()deletionProtectionEnabled(IResolvable deletionProtectionEnabled) Sets the value ofCfnProtectConfigurationMixinProps.getDeletionProtectionEnabled()Sets the value ofCfnProtectConfigurationMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
countryRuleSet
@Stability(Stable) public CfnProtectConfigurationMixinProps.Builder countryRuleSet(IResolvable countryRuleSet) Sets the value ofCfnProtectConfigurationMixinProps.getCountryRuleSet()- Parameters:
countryRuleSet- The set ofCountryRulesyou specify to control which countries End User Messaging can send your messages to.- Returns:
this
-
countryRuleSet
@Stability(Stable) public CfnProtectConfigurationMixinProps.Builder countryRuleSet(CfnProtectConfigurationPropsMixin.CountryRuleSetProperty countryRuleSet) Sets the value ofCfnProtectConfigurationMixinProps.getCountryRuleSet()- Parameters:
countryRuleSet- The set ofCountryRulesyou specify to control which countries End User Messaging can send your messages to.- Returns:
this
-
deletionProtectionEnabled
@Stability(Stable) public CfnProtectConfigurationMixinProps.Builder deletionProtectionEnabled(Boolean deletionProtectionEnabled) Sets the value ofCfnProtectConfigurationMixinProps.getDeletionProtectionEnabled()- Parameters:
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.- Returns:
this
-
deletionProtectionEnabled
@Stability(Stable) public CfnProtectConfigurationMixinProps.Builder deletionProtectionEnabled(IResolvable deletionProtectionEnabled) Sets the value ofCfnProtectConfigurationMixinProps.getDeletionProtectionEnabled()- Parameters:
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.- Returns:
this
-
tags
@Stability(Stable) public CfnProtectConfigurationMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnProtectConfigurationMixinProps.getTags()- Parameters:
tags- An array of key and value pair tags that are associated with the resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnProtectConfigurationMixinProps>- Returns:
- a new instance of
CfnProtectConfigurationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-