public static final class CfnCampaign.CampaignCustomMessageProperty.Builder
extends java.lang.Object
CfnCampaign.CampaignCustomMessageProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnCampaign.CampaignCustomMessageProperty |
build()
Builds the configured instance.
|
CfnCampaign.CampaignCustomMessageProperty.Builder |
data(java.lang.String data)
Sets the value of
CfnCampaign.CampaignCustomMessageProperty.getData() |
public CfnCampaign.CampaignCustomMessageProperty.Builder data(java.lang.String data)
CfnCampaign.CampaignCustomMessageProperty.getData()
data
- The raw, JSON-formatted string to use as the payload for the message.
The maximum size is 5 KB.this
public CfnCampaign.CampaignCustomMessageProperty build()
CfnCampaign.CampaignCustomMessageProperty
java.lang.NullPointerException
- if any required attribute was not provided