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