@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SMSTemplateRequest extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the content and settings for a message template that can be used in text messages that are sent through the SMS channel.
| Constructor and Description |
|---|
SMSTemplateRequest() |
| Modifier and Type | Method and Description |
|---|---|
SMSTemplateRequest |
addTagsEntry(String key,
String value) |
SMSTemplateRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
SMSTemplateRequest |
clone() |
boolean |
equals(Object obj) |
String |
getBody()
The message body to use in text messages that are based on the message template.
|
Map<String,String> |
getTags()
A string-to-string map of key-value pairs that defines the tags to associate with the message template.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setBody(String body)
The message body to use in text messages that are based on the message template.
|
void |
setTags(Map<String,String> tags)
A string-to-string map of key-value pairs that defines the tags to associate with the message template.
|
String |
toString()
Returns a string representation of this object.
|
SMSTemplateRequest |
withBody(String body)
The message body to use in text messages that are based on the message template.
|
SMSTemplateRequest |
withTags(Map<String,String> tags)
A string-to-string map of key-value pairs that defines the tags to associate with the message template.
|
public void setBody(String body)
The message body to use in text messages that are based on the message template.
body - The message body to use in text messages that are based on the message template.public String getBody()
The message body to use in text messages that are based on the message template.
public SMSTemplateRequest withBody(String body)
The message body to use in text messages that are based on the message template.
body - The message body to use in text messages that are based on the message template.public Map<String,String> getTags()
A string-to-string map of key-value pairs that defines the tags to associate with the message template. Each tag consists of a required tag key and an associated tag value.
public void setTags(Map<String,String> tags)
A string-to-string map of key-value pairs that defines the tags to associate with the message template. Each tag consists of a required tag key and an associated tag value.
tags - A string-to-string map of key-value pairs that defines the tags to associate with the message template.
Each tag consists of a required tag key and an associated tag value.public SMSTemplateRequest withTags(Map<String,String> tags)
A string-to-string map of key-value pairs that defines the tags to associate with the message template. Each tag consists of a required tag key and an associated tag value.
tags - A string-to-string map of key-value pairs that defines the tags to associate with the message template.
Each tag consists of a required tag key and an associated tag value.public SMSTemplateRequest addTagsEntry(String key, String value)
public SMSTemplateRequest clearTagsEntries()
public String toString()
toString in class ObjectObject.toString()public SMSTemplateRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.