@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DefaultMessage extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the default message for all channels.
| Constructor and Description |
|---|
DefaultMessage() |
| Modifier and Type | Method and Description |
|---|---|
DefaultMessage |
addSubstitutionsEntry(String key,
List<String> value)
Add a single Substitutions entry
|
DefaultMessage |
clearSubstitutionsEntries()
Removes all the entries added into Substitutions.
|
DefaultMessage |
clone() |
boolean |
equals(Object obj) |
String |
getBody()
The default body of the message.
|
Map<String,List<String>> |
getSubstitutions()
The default message variables to use in the message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setBody(String body)
The default body of the message.
|
void |
setSubstitutions(Map<String,List<String>> substitutions)
The default message variables to use in the message.
|
String |
toString()
Returns a string representation of this object.
|
DefaultMessage |
withBody(String body)
The default body of the message.
|
DefaultMessage |
withSubstitutions(Map<String,List<String>> substitutions)
The default message variables to use in the message.
|
public void setBody(String body)
The default body of the message.
body - The default body of the message.public String getBody()
The default body of the message.
public DefaultMessage withBody(String body)
The default body of the message.
body - The default body of the message.public Map<String,List<String>> getSubstitutions()
The default message variables to use in the message. You can override these default variables with individual address variables.
public void setSubstitutions(Map<String,List<String>> substitutions)
The default message variables to use in the message. You can override these default variables with individual address variables.
substitutions - The default message variables to use in the message. You can override these default variables with
individual address variables.public DefaultMessage withSubstitutions(Map<String,List<String>> substitutions)
The default message variables to use in the message. You can override these default variables with individual address variables.
substitutions - The default message variables to use in the message. You can override these default variables with
individual address variables.public DefaultMessage addSubstitutionsEntry(String key, List<String> value)
public DefaultMessage clearSubstitutionsEntries()
public String toString()
toString in class ObjectObject.toString()public DefaultMessage clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.