Class CfnMessageTemplatePropsMixin.SmsMessageTemplateContentProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wisdom.CfnMessageTemplatePropsMixin.SmsMessageTemplateContentProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMessageTemplatePropsMixin.SmsMessageTemplateContentProperty>
- Enclosing interface:
CfnMessageTemplatePropsMixin.SmsMessageTemplateContentProperty
@Stability(Stable)
public static final class CfnMessageTemplatePropsMixin.SmsMessageTemplateContentProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMessageTemplatePropsMixin.SmsMessageTemplateContentProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnMessageTemplatePropsMixin.SmsMessageTemplateContentProperty.getBody()body(IResolvable body) Sets the value ofCfnMessageTemplatePropsMixin.SmsMessageTemplateContentProperty.getBody()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
body
@Stability(Stable) public CfnMessageTemplatePropsMixin.SmsMessageTemplateContentProperty.Builder body(IResolvable body) Sets the value ofCfnMessageTemplatePropsMixin.SmsMessageTemplateContentProperty.getBody()- Parameters:
body- The body to use in SMS messages.- Returns:
this
-
body
@Stability(Stable) public CfnMessageTemplatePropsMixin.SmsMessageTemplateContentProperty.Builder body(CfnMessageTemplatePropsMixin.SmsMessageTemplateContentBodyProperty body) Sets the value ofCfnMessageTemplatePropsMixin.SmsMessageTemplateContentProperty.getBody()- Parameters:
body- The body to use in SMS messages.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMessageTemplatePropsMixin.SmsMessageTemplateContentProperty>- Returns:
- a new instance of
CfnMessageTemplatePropsMixin.SmsMessageTemplateContentProperty - Throws:
NullPointerException- if any required attribute was not provided
-