Class CfnPoolMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.smsvoice.CfnPoolMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPoolMixinProps>
- Enclosing interface:
CfnPoolMixinProps
@Stability(Stable)
public static final class CfnPoolMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPoolMixinProps>
A builder for
CfnPoolMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.deletionProtectionEnabled(Boolean deletionProtectionEnabled) Sets the value ofCfnPoolMixinProps.getDeletionProtectionEnabled()deletionProtectionEnabled(IResolvable deletionProtectionEnabled) Sets the value ofCfnPoolMixinProps.getDeletionProtectionEnabled()mandatoryKeywords(CfnPoolPropsMixin.MandatoryKeywordsProperty mandatoryKeywords) Sets the value ofCfnPoolMixinProps.getMandatoryKeywords()mandatoryKeywords(IResolvable mandatoryKeywords) Sets the value ofCfnPoolMixinProps.getMandatoryKeywords()optionalKeywords(List<? extends Object> optionalKeywords) Sets the value ofCfnPoolMixinProps.getOptionalKeywords()optionalKeywords(IResolvable optionalKeywords) Sets the value ofCfnPoolMixinProps.getOptionalKeywords()optOutListName(String optOutListName) Sets the value ofCfnPoolMixinProps.getOptOutListName()originationIdentities(List<String> originationIdentities) Sets the value ofCfnPoolMixinProps.getOriginationIdentities()selfManagedOptOutsEnabled(Boolean selfManagedOptOutsEnabled) Sets the value ofCfnPoolMixinProps.getSelfManagedOptOutsEnabled()selfManagedOptOutsEnabled(IResolvable selfManagedOptOutsEnabled) Sets the value ofCfnPoolMixinProps.getSelfManagedOptOutsEnabled()sharedRoutesEnabled(Boolean sharedRoutesEnabled) Sets the value ofCfnPoolMixinProps.getSharedRoutesEnabled()sharedRoutesEnabled(IResolvable sharedRoutesEnabled) Sets the value ofCfnPoolMixinProps.getSharedRoutesEnabled()Sets the value ofCfnPoolMixinProps.getTags()Sets the value ofCfnPoolMixinProps.getTwoWay()twoWay(IResolvable twoWay) Sets the value ofCfnPoolMixinProps.getTwoWay()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
deletionProtectionEnabled
@Stability(Stable) public CfnPoolMixinProps.Builder deletionProtectionEnabled(Boolean deletionProtectionEnabled) Sets the value ofCfnPoolMixinProps.getDeletionProtectionEnabled()- Parameters:
deletionProtectionEnabled- When set to true the pool can't be deleted.- Returns:
this
-
deletionProtectionEnabled
@Stability(Stable) public CfnPoolMixinProps.Builder deletionProtectionEnabled(IResolvable deletionProtectionEnabled) Sets the value ofCfnPoolMixinProps.getDeletionProtectionEnabled()- Parameters:
deletionProtectionEnabled- When set to true the pool can't be deleted.- Returns:
this
-
mandatoryKeywords
@Stability(Stable) public CfnPoolMixinProps.Builder mandatoryKeywords(IResolvable mandatoryKeywords) Sets the value ofCfnPoolMixinProps.getMandatoryKeywords()- Parameters:
mandatoryKeywords- Creates or updates the pool'sMandatoryKeywordconfiguration. For more information, see Keywords in the End User Messaging User Guide.- Returns:
this
-
mandatoryKeywords
@Stability(Stable) public CfnPoolMixinProps.Builder mandatoryKeywords(CfnPoolPropsMixin.MandatoryKeywordsProperty mandatoryKeywords) Sets the value ofCfnPoolMixinProps.getMandatoryKeywords()- Parameters:
mandatoryKeywords- Creates or updates the pool'sMandatoryKeywordconfiguration. For more information, see Keywords in the End User Messaging User Guide.- Returns:
this
-
optionalKeywords
Sets the value ofCfnPoolMixinProps.getOptionalKeywords()- Parameters:
optionalKeywords- Specifies any optional keywords to associate with the pool. For more information, see Keywords in the End User Messaging User Guide.- Returns:
this
-
optionalKeywords
@Stability(Stable) public CfnPoolMixinProps.Builder optionalKeywords(List<? extends Object> optionalKeywords) Sets the value ofCfnPoolMixinProps.getOptionalKeywords()- Parameters:
optionalKeywords- Specifies any optional keywords to associate with the pool. For more information, see Keywords in the End User Messaging User Guide.- Returns:
this
-
optOutListName
Sets the value ofCfnPoolMixinProps.getOptOutListName()- Parameters:
optOutListName- The name of the OptOutList associated with the pool.- Returns:
this
-
originationIdentities
@Stability(Stable) public CfnPoolMixinProps.Builder originationIdentities(List<String> originationIdentities) Sets the value ofCfnPoolMixinProps.getOriginationIdentities()- Parameters:
originationIdentities- The list of origination identities to apply to the pool, eitherPhoneNumberArnorSenderIdArn. For more information, see Registrations in the End User Messaging User Guide.If you are using a shared End User Messaging resource then you must use the full Amazon Resource Name (ARN).
- Returns:
this
-
selfManagedOptOutsEnabled
@Stability(Stable) public CfnPoolMixinProps.Builder selfManagedOptOutsEnabled(Boolean selfManagedOptOutsEnabled) Sets the value ofCfnPoolMixinProps.getSelfManagedOptOutsEnabled()- Parameters:
selfManagedOptOutsEnabled- When set to false, an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, End User Messaging automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests. For more information see Self-managed opt-outs- Returns:
this
-
selfManagedOptOutsEnabled
@Stability(Stable) public CfnPoolMixinProps.Builder selfManagedOptOutsEnabled(IResolvable selfManagedOptOutsEnabled) Sets the value ofCfnPoolMixinProps.getSelfManagedOptOutsEnabled()- Parameters:
selfManagedOptOutsEnabled- When set to false, an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, End User Messaging automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests. For more information see Self-managed opt-outs- Returns:
this
-
tags
Sets the value ofCfnPoolMixinProps.getTags()- Parameters:
tags- An array of tags (key and value pairs) associated with the pool.- Returns:
this
-
twoWay
Sets the value ofCfnPoolMixinProps.getTwoWay()- Parameters:
twoWay- Describes the two-way SMS configuration for a phone number. For more information, see Two-way SMS messaging in the End User Messaging User Guide.- Returns:
this
-
twoWay
Sets the value ofCfnPoolMixinProps.getTwoWay()- Parameters:
twoWay- Describes the two-way SMS configuration for a phone number. For more information, see Two-way SMS messaging in the End User Messaging User Guide.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPoolMixinProps>- Returns:
- a new instance of
CfnPoolMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-