@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JourneyCustomMessage extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the message content for a custom channel message that's sent to participants in a journey.
Constructor and Description |
---|
JourneyCustomMessage() |
Modifier and Type | Method and Description |
---|---|
JourneyCustomMessage |
clone() |
boolean |
equals(Object obj) |
String |
getData()
The message content that's passed to an AWS Lambda function or to a web hook.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setData(String data)
The message content that's passed to an AWS Lambda function or to a web hook.
|
String |
toString()
Returns a string representation of this object.
|
JourneyCustomMessage |
withData(String data)
The message content that's passed to an AWS Lambda function or to a web hook.
|
public void setData(String data)
The message content that's passed to an AWS Lambda function or to a web hook.
data
- The message content that's passed to an AWS Lambda function or to a web hook.public String getData()
The message content that's passed to an AWS Lambda function or to a web hook.
public JourneyCustomMessage withData(String data)
The message content that's passed to an AWS Lambda function or to a web hook.
data
- The message content that's passed to an AWS Lambda function or to a web hook.public String toString()
toString
in class Object
Object.toString()
public JourneyCustomMessage clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.