Class CfnPool.MandatoryKeywordProperty.Builder
java.lang.Object
software.amazon.awscdk.services.smsvoice.CfnPool.MandatoryKeywordProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPool.MandatoryKeywordProperty>
- Enclosing interface:
CfnPool.MandatoryKeywordProperty
@Stability(Stable)
public static final class CfnPool.MandatoryKeywordProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPool.MandatoryKeywordProperty>
A builder for
CfnPool.MandatoryKeywordProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnPool.MandatoryKeywordProperty.getMessage()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
message
Sets the value ofCfnPool.MandatoryKeywordProperty.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<CfnPool.MandatoryKeywordProperty>
- Returns:
- a new instance of
CfnPool.MandatoryKeywordProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-