Class CfnPhoneNumber.MandatoryKeywordsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.smsvoice.CfnPhoneNumber.MandatoryKeywordsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPhoneNumber.MandatoryKeywordsProperty>
- Enclosing interface:
CfnPhoneNumber.MandatoryKeywordsProperty
@Stability(Stable)
public static final class CfnPhoneNumber.MandatoryKeywordsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPhoneNumber.MandatoryKeywordsProperty>
A builder for
CfnPhoneNumber.MandatoryKeywordsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.help(IResolvable help) Sets the value ofCfnPhoneNumber.MandatoryKeywordsProperty.getHelp()Sets the value ofCfnPhoneNumber.MandatoryKeywordsProperty.getHelp()stop(IResolvable stop) Sets the value ofCfnPhoneNumber.MandatoryKeywordsProperty.getStop()Sets the value ofCfnPhoneNumber.MandatoryKeywordsProperty.getStop()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
help
Sets the value ofCfnPhoneNumber.MandatoryKeywordsProperty.getHelp()- Parameters:
help- Specifies theHELPkeyword that customers use to obtain customer support for this phone number. This parameter is required. For more information, see Keywords in the End User Messaging User Guide.- Returns:
this
-
help
@Stability(Stable) public CfnPhoneNumber.MandatoryKeywordsProperty.Builder help(CfnPhoneNumber.MandatoryKeywordProperty help) Sets the value ofCfnPhoneNumber.MandatoryKeywordsProperty.getHelp()- Parameters:
help- Specifies theHELPkeyword that customers use to obtain customer support for this phone number. This parameter is required. For more information, see Keywords in the End User Messaging User Guide.- Returns:
this
-
stop
Sets the value ofCfnPhoneNumber.MandatoryKeywordsProperty.getStop()- Parameters:
stop- Specifies theSTOPkeyword that customers use to opt out of receiving messages from this phone number. 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 CfnPhoneNumber.MandatoryKeywordsProperty.Builder stop(CfnPhoneNumber.MandatoryKeywordProperty stop) Sets the value ofCfnPhoneNumber.MandatoryKeywordsProperty.getStop()- Parameters:
stop- Specifies theSTOPkeyword that customers use to opt out of receiving messages from this phone number. 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:
buildin interfacesoftware.amazon.jsii.Builder<CfnPhoneNumber.MandatoryKeywordsProperty>- Returns:
- a new instance of
CfnPhoneNumber.MandatoryKeywordsProperty - Throws:
NullPointerException- if any required attribute was not provided
-