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