@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DefaultMessage extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
DefaultMessage() |
Modifier and Type | Method and Description |
---|---|
DefaultMessage |
addSubstitutionsEntry(String key,
List<String> value) |
DefaultMessage |
clearSubstitutionsEntries()
Removes all the entries added into Substitutions.
|
DefaultMessage |
clone() |
boolean |
equals(Object obj) |
String |
getBody()
The message body of the notification, the email body or the text message.
|
Map<String,List<String>> |
getSubstitutions()
Default message substitutions.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBody(String body)
The message body of the notification, the email body or the text message.
|
void |
setSubstitutions(Map<String,List<String>> substitutions)
Default message substitutions.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DefaultMessage |
withBody(String body)
The message body of the notification, the email body or the text message.
|
DefaultMessage |
withSubstitutions(Map<String,List<String>> substitutions)
Default message substitutions.
|
public void setBody(String body)
body
- The message body of the notification, the email body or the text message.public String getBody()
public DefaultMessage withBody(String body)
body
- The message body of the notification, the email body or the text message.public Map<String,List<String>> getSubstitutions()
public void setSubstitutions(Map<String,List<String>> substitutions)
substitutions
- Default message substitutions. Can be overridden by individual address substitutions.public DefaultMessage withSubstitutions(Map<String,List<String>> substitutions)
substitutions
- Default message substitutions. Can be overridden by individual address substitutions.public DefaultMessage addSubstitutionsEntry(String key, List<String> value)
public DefaultMessage clearSubstitutionsEntries()
public String toString()
toString
in class Object
Object.toString()
public DefaultMessage clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.