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