@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CampaignCustomMessage extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the contents of a message that's sent through a custom channel to recipients of a campaign.
Constructor and Description |
---|
CampaignCustomMessage() |
Modifier and Type | Method and Description |
---|---|
CampaignCustomMessage |
clone() |
boolean |
equals(Object obj) |
String |
getData()
The raw, JSON-formatted string to use as the payload for the message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setData(String data)
The raw, JSON-formatted string to use as the payload for the message.
|
String |
toString()
Returns a string representation of this object.
|
CampaignCustomMessage |
withData(String data)
The raw, JSON-formatted string to use as the payload for the message.
|
public void setData(String data)
The raw, JSON-formatted string to use as the payload for the message. The maximum size is 5 KB.
data
- The raw, JSON-formatted string to use as the payload for the message. The maximum size is 5 KB.public String getData()
The raw, JSON-formatted string to use as the payload for the message. The maximum size is 5 KB.
public CampaignCustomMessage withData(String data)
The raw, JSON-formatted string to use as the payload for the message. The maximum size is 5 KB.
data
- The raw, JSON-formatted string to use as the payload for the message. The maximum size is 5 KB.public String toString()
toString
in class Object
Object.toString()
public CampaignCustomMessage clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2023. All rights reserved.