Class CfnPool.MandatoryKeywordsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.smsvoice.CfnPool.MandatoryKeywordsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPool.MandatoryKeywordsProperty>
- Enclosing interface:
CfnPool.MandatoryKeywordsProperty
@Stability(Stable)
public static final class CfnPool.MandatoryKeywordsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPool.MandatoryKeywordsProperty>
A builder for
CfnPool.MandatoryKeywordsProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.help
(IResolvable help) Sets the value ofCfnPool.MandatoryKeywordsProperty.getHelp()
Sets the value ofCfnPool.MandatoryKeywordsProperty.getHelp()
stop
(IResolvable stop) Sets the value ofCfnPool.MandatoryKeywordsProperty.getStop()
Sets the value ofCfnPool.MandatoryKeywordsProperty.getStop()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
help
Sets the value ofCfnPool.MandatoryKeywordsProperty.getHelp()
- Parameters:
help
- Specifies the pool'sHELP
keyword. This parameter is required. For more information, see Opt out list required keywords in the End User Messaging User Guide.- Returns:
this
-
help
@Stability(Stable) public CfnPool.MandatoryKeywordsProperty.Builder help(CfnPool.MandatoryKeywordProperty help) Sets the value ofCfnPool.MandatoryKeywordsProperty.getHelp()
- Parameters:
help
- Specifies the pool'sHELP
keyword. This parameter is required. For more information, see Opt out list required keywords in the End User Messaging User Guide.- Returns:
this
-
stop
Sets the value ofCfnPool.MandatoryKeywordsProperty.getStop()
- Parameters:
stop
- Specifies the pool's opt-out keyword. This parameter is required. For more information, see Required opt-out keywords in the End User Messaging User Guide.- Returns:
this
-
stop
@Stability(Stable) public CfnPool.MandatoryKeywordsProperty.Builder stop(CfnPool.MandatoryKeywordProperty stop) Sets the value ofCfnPool.MandatoryKeywordsProperty.getStop()
- Parameters:
stop
- Specifies the pool's opt-out keyword. This parameter is required. For more information, see Required opt-out keywords in the End User Messaging User Guide.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPool.MandatoryKeywordsProperty>
- Returns:
- a new instance of
CfnPool.MandatoryKeywordsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-