Class CfnPhoneNumber.OptionalKeywordProperty.Builder
java.lang.Object
software.amazon.awscdk.services.smsvoice.CfnPhoneNumber.OptionalKeywordProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPhoneNumber.OptionalKeywordProperty>
- Enclosing interface:
CfnPhoneNumber.OptionalKeywordProperty
@Stability(Stable)
public static final class CfnPhoneNumber.OptionalKeywordProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPhoneNumber.OptionalKeywordProperty>
A builder for
CfnPhoneNumber.OptionalKeywordProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnPhoneNumber.OptionalKeywordProperty.getAction()
build()
Builds the configured instance.Sets the value ofCfnPhoneNumber.OptionalKeywordProperty.getKeyword()
Sets the value ofCfnPhoneNumber.OptionalKeywordProperty.getMessage()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
action
Sets the value ofCfnPhoneNumber.OptionalKeywordProperty.getAction()
- Parameters:
action
- The action to perform when the keyword is used. This parameter is required.- Returns:
this
-
keyword
Sets the value ofCfnPhoneNumber.OptionalKeywordProperty.getKeyword()
- Parameters:
keyword
- The new keyword to add. This parameter is required.- Returns:
this
-
message
Sets the value ofCfnPhoneNumber.OptionalKeywordProperty.getMessage()
- Parameters:
message
- The message associated with the keyword. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPhoneNumber.OptionalKeywordProperty>
- Returns:
- a new instance of
CfnPhoneNumber.OptionalKeywordProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-