Class CfnCampaign.CampaignCustomMessageProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pinpoint.CfnCampaign.CampaignCustomMessageProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCampaign.CampaignCustomMessageProperty>
- Enclosing interface:
CfnCampaign.CampaignCustomMessageProperty
@Stability(Stable)
public static final class CfnCampaign.CampaignCustomMessageProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaign.CampaignCustomMessageProperty>
A builder for
CfnCampaign.CampaignCustomMessageProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnCampaign.CampaignCustomMessageProperty.getData()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
data
Sets the value ofCfnCampaign.CampaignCustomMessageProperty.getData()
- Parameters:
data
- The raw, JSON-formatted string to use as the payload for the message. The maximum size is 5 KB.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCampaign.CampaignCustomMessageProperty>
- Returns:
- a new instance of
CfnCampaign.CampaignCustomMessageProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-