@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SMSMessage extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
SMSMessage() |
| Modifier and Type | Method and Description |
|---|---|
SMSMessage |
addSubstitutionsEntry(String key,
List<String> value) |
SMSMessage |
clearSubstitutionsEntries()
Removes all the entries added into Substitutions.
|
SMSMessage |
clone() |
boolean |
equals(Object obj) |
String |
getBody()
The message body of the notification, the email body or the text message.
|
String |
getMessageType()
Is this a transaction priority message or lower priority.
|
String |
getSenderId()
Sender ID of sent 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 |
setMessageType(MessageType messageType)
Is this a transaction priority message or lower priority.
|
void |
setMessageType(String messageType)
Is this a transaction priority message or lower priority.
|
void |
setSenderId(String senderId)
Sender ID of sent 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.
|
SMSMessage |
withBody(String body)
The message body of the notification, the email body or the text message.
|
SMSMessage |
withMessageType(MessageType messageType)
Is this a transaction priority message or lower priority.
|
SMSMessage |
withMessageType(String messageType)
Is this a transaction priority message or lower priority.
|
SMSMessage |
withSenderId(String senderId)
Sender ID of sent message.
|
SMSMessage |
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 SMSMessage withBody(String body)
body - The message body of the notification, the email body or the text message.public void setMessageType(String messageType)
messageType - Is this a transaction priority message or lower priority.MessageTypepublic String getMessageType()
MessageTypepublic SMSMessage withMessageType(String messageType)
messageType - Is this a transaction priority message or lower priority.MessageTypepublic void setMessageType(MessageType messageType)
messageType - Is this a transaction priority message or lower priority.MessageTypepublic SMSMessage withMessageType(MessageType messageType)
messageType - Is this a transaction priority message or lower priority.MessageTypepublic void setSenderId(String senderId)
senderId - Sender ID of sent message.public String getSenderId()
public SMSMessage withSenderId(String senderId)
senderId - Sender ID of sent 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 SMSMessage withSubstitutions(Map<String,List<String>> substitutions)
substitutions - Default message substitutions. Can be overridden by individual address substitutions.public SMSMessage addSubstitutionsEntry(String key, List<String> value)
public SMSMessage clearSubstitutionsEntries()
public String toString()
toString in class ObjectObject.toString()public SMSMessage clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.