public class TestRenderTemplateRequest extends AmazonWebServiceRequest implements java.io.Serializable
Creates a preview of the MIME content of an email when provided with a template and a set of replacement data.
You can execute this operation no more than once per second.
| Constructor and Description |
|---|
TestRenderTemplateRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getTemplateData()
A list of replacement values to apply to the template.
|
java.lang.String |
getTemplateName()
The name of the template that you want to render.
|
int |
hashCode() |
void |
setTemplateData(java.lang.String templateData)
A list of replacement values to apply to the template.
|
void |
setTemplateName(java.lang.String templateName)
The name of the template that you want to render.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TestRenderTemplateRequest |
withTemplateData(java.lang.String templateData)
A list of replacement values to apply to the template.
|
TestRenderTemplateRequest |
withTemplateName(java.lang.String templateName)
The name of the template that you want to render.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getTemplateName()
The name of the template that you want to render.
The name of the template that you want to render.
public void setTemplateName(java.lang.String templateName)
The name of the template that you want to render.
templateName - The name of the template that you want to render.
public TestRenderTemplateRequest withTemplateName(java.lang.String templateName)
The name of the template that you want to render.
Returns a reference to this object so that method calls can be chained together.
templateName - The name of the template that you want to render.
public java.lang.String getTemplateData()
A list of replacement values to apply to the template. This parameter is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template.
Constraints:
Length: - 262144
A list of replacement values to apply to the template. This parameter is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template.
public void setTemplateData(java.lang.String templateData)
A list of replacement values to apply to the template. This parameter is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template.
Constraints:
Length: - 262144
templateData - A list of replacement values to apply to the template. This parameter is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template.
public TestRenderTemplateRequest withTemplateData(java.lang.String templateData)
A list of replacement values to apply to the template. This parameter is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 262144
templateData - A list of replacement values to apply to the template. This parameter is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.