@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TemplateResponse extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about a message template that's associated with your Amazon Pinpoint account.
| Constructor and Description |
|---|
TemplateResponse() |
| Modifier and Type | Method and Description |
|---|---|
TemplateResponse |
addTagsEntry(String key,
String value) |
TemplateResponse |
clearTagsEntries()
Removes all the entries added into Tags.
|
TemplateResponse |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the message template.
|
String |
getCreationDate()
The date when the message template was created.
|
String |
getLastModifiedDate()
The date when the message template was last modified.
|
Map<String,String> |
getTags()
A string-to-string map of key-value pairs that identifies the tags that are associated with the message template.
|
String |
getTemplateName()
The name of the message template.
|
String |
getTemplateType()
The type of channel that the message template is designed for.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the message template.
|
void |
setCreationDate(String creationDate)
The date when the message template was created.
|
void |
setLastModifiedDate(String lastModifiedDate)
The date when the message template was last modified.
|
void |
setTags(Map<String,String> tags)
A string-to-string map of key-value pairs that identifies the tags that are associated with the message template.
|
void |
setTemplateName(String templateName)
The name of the message template.
|
void |
setTemplateType(String templateType)
The type of channel that the message template is designed for.
|
String |
toString()
Returns a string representation of this object.
|
TemplateResponse |
withArn(String arn)
The Amazon Resource Name (ARN) of the message template.
|
TemplateResponse |
withCreationDate(String creationDate)
The date when the message template was created.
|
TemplateResponse |
withLastModifiedDate(String lastModifiedDate)
The date when the message template was last modified.
|
TemplateResponse |
withTags(Map<String,String> tags)
A string-to-string map of key-value pairs that identifies the tags that are associated with the message template.
|
TemplateResponse |
withTemplateName(String templateName)
The name of the message template.
|
TemplateResponse |
withTemplateType(String templateType)
The type of channel that the message template is designed for.
|
TemplateResponse |
withTemplateType(TemplateType templateType)
The type of channel that the message template is designed for.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the message template.
arn - The Amazon Resource Name (ARN) of the message template.public String getArn()
The Amazon Resource Name (ARN) of the message template.
public TemplateResponse withArn(String arn)
The Amazon Resource Name (ARN) of the message template.
arn - The Amazon Resource Name (ARN) of the message template.public void setCreationDate(String creationDate)
The date when the message template was created.
creationDate - The date when the message template was created.public String getCreationDate()
The date when the message template was created.
public TemplateResponse withCreationDate(String creationDate)
The date when the message template was created.
creationDate - The date when the message template was created.public void setLastModifiedDate(String lastModifiedDate)
The date when the message template was last modified.
lastModifiedDate - The date when the message template was last modified.public String getLastModifiedDate()
The date when the message template was last modified.
public TemplateResponse withLastModifiedDate(String lastModifiedDate)
The date when the message template was last modified.
lastModifiedDate - The date when the message template was last modified.public Map<String,String> getTags()
A string-to-string map of key-value pairs that identifies the tags that are associated 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 identifies the tags that are associated 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 identifies the tags that are associated with the message
template. Each tag consists of a required tag key and an associated tag value.public TemplateResponse withTags(Map<String,String> tags)
A string-to-string map of key-value pairs that identifies the tags that are associated 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 identifies the tags that are associated with the message
template. Each tag consists of a required tag key and an associated tag value.public TemplateResponse addTagsEntry(String key, String value)
public TemplateResponse clearTagsEntries()
public void setTemplateName(String templateName)
The name of the message template.
templateName - The name of the message template.public String getTemplateName()
The name of the message template.
public TemplateResponse withTemplateName(String templateName)
The name of the message template.
templateName - The name of the message template.public void setTemplateType(String templateType)
The type of channel that the message template is designed for.
templateType - The type of channel that the message template is designed for.TemplateTypepublic String getTemplateType()
The type of channel that the message template is designed for.
TemplateTypepublic TemplateResponse withTemplateType(String templateType)
The type of channel that the message template is designed for.
templateType - The type of channel that the message template is designed for.TemplateTypepublic TemplateResponse withTemplateType(TemplateType templateType)
The type of channel that the message template is designed for.
templateType - The type of channel that the message template is designed for.TemplateTypepublic String toString()
toString in class ObjectObject.toString()public TemplateResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.