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