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