Class CfnPool.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPool>
- Enclosing class:
CfnPool
CfnPool
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnPool.Builder
deletionProtectionEnabled
(Boolean deletionProtectionEnabled) When set to true the pool can't be deleted.deletionProtectionEnabled
(IResolvable deletionProtectionEnabled) When set to true the pool can't be deleted.mandatoryKeywords
(IResolvable mandatoryKeywords) Creates or updates the pool'sMandatoryKeyword
configuration.mandatoryKeywords
(CfnPool.MandatoryKeywordsProperty mandatoryKeywords) Creates or updates the pool'sMandatoryKeyword
configuration.optionalKeywords
(List<? extends Object> optionalKeywords) Specifies any optional keywords to associate with the pool.optionalKeywords
(IResolvable optionalKeywords) Specifies any optional keywords to associate with the pool.optOutListName
(String optOutListName) The name of the OptOutList associated with the pool.originationIdentities
(List<String> originationIdentities) The list of origination identities to apply to the pool, eitherPhoneNumberArn
orSenderIdArn
.selfManagedOptOutsEnabled
(Boolean 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.selfManagedOptOutsEnabled
(IResolvable 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.sharedRoutesEnabled
(Boolean sharedRoutesEnabled) Allows you to enable shared routes on your pool.sharedRoutesEnabled
(IResolvable sharedRoutesEnabled) Allows you to enable shared routes on your pool.An array of tags (key and value pairs) associated with the pool.twoWay
(IResolvable twoWay) Describes the two-way SMS configuration for a phone number.twoWay
(CfnPool.TwoWayProperty twoWay) Describes the two-way SMS configuration for a phone number.
-
Method Details
-
create
@Stability(Stable) public static CfnPool.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
CfnPool.Builder
.
-
mandatoryKeywords
Creates or updates the pool'sMandatoryKeyword
configuration.For more information, see Keywords in the End User Messaging User Guide.
- Parameters:
mandatoryKeywords
- Creates or updates the pool'sMandatoryKeyword
configuration. This parameter is required.- Returns:
this
- See Also:
-
mandatoryKeywords
@Stability(Stable) public CfnPool.Builder mandatoryKeywords(CfnPool.MandatoryKeywordsProperty mandatoryKeywords) Creates or updates the pool'sMandatoryKeyword
configuration.For more information, see Keywords in the End User Messaging User Guide.
- Parameters:
mandatoryKeywords
- Creates or updates the pool'sMandatoryKeyword
configuration. This parameter is required.- Returns:
this
- See Also:
-
originationIdentities
The list of origination identities to apply to the pool, eitherPhoneNumberArn
orSenderIdArn
.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).
- Parameters:
originationIdentities
- The list of origination identities to apply to the pool, eitherPhoneNumberArn
orSenderIdArn
. This parameter is required.- Returns:
this
- See Also:
-
deletionProtectionEnabled
@Stability(Stable) public CfnPool.Builder deletionProtectionEnabled(Boolean deletionProtectionEnabled) When set to true the pool can't be deleted.- Parameters:
deletionProtectionEnabled
- When set to true the pool can't be deleted. This parameter is required.- Returns:
this
- See Also:
-
deletionProtectionEnabled
@Stability(Stable) public CfnPool.Builder deletionProtectionEnabled(IResolvable deletionProtectionEnabled) When set to true the pool can't be deleted.- Parameters:
deletionProtectionEnabled
- When set to true the pool can't be deleted. This parameter is required.- Returns:
this
- See Also:
-
optionalKeywords
Specifies any optional keywords to associate with the pool.For more information, see Keywords in the End User Messaging User Guide.
- Parameters:
optionalKeywords
- Specifies any optional keywords to associate with the pool. This parameter is required.- Returns:
this
- See Also:
-
optionalKeywords
Specifies any optional keywords to associate with the pool.For more information, see Keywords in the End User Messaging User Guide.
- Parameters:
optionalKeywords
- Specifies any optional keywords to associate with the pool. This parameter is required.- Returns:
this
- See Also:
-
optOutListName
The name of the OptOutList associated with the pool.- Parameters:
optOutListName
- The name of the OptOutList associated with the pool. This parameter is required.- Returns:
this
- See Also:
-
selfManagedOptOutsEnabled
@Stability(Stable) public CfnPool.Builder selfManagedOptOutsEnabled(Boolean 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
- 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. This parameter is required.- Returns:
this
- See Also:
-
selfManagedOptOutsEnabled
@Stability(Stable) public CfnPool.Builder selfManagedOptOutsEnabled(IResolvable 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
- 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. This parameter is required.- Returns:
this
- See Also:
-
tags
An array of tags (key and value pairs) associated with the pool.- Parameters:
tags
- An array of tags (key and value pairs) associated with the pool. This parameter is required.- Returns:
this
- See Also:
-
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.
- Parameters:
twoWay
- Describes the two-way SMS configuration for a phone number. This parameter is required.- Returns:
this
- See Also:
-
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.
- Parameters:
twoWay
- Describes the two-way SMS configuration for a phone number. This parameter is required.- Returns:
this
- See Also:
-
build
-