@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TestRenderEmailTemplateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
>Represents a request to create a preview of the MIME content of an email when provided with a template and a set of replacement data.
NOOP| Constructor and Description |
|---|
TestRenderEmailTemplateRequest() |
| Modifier and Type | Method and Description |
|---|---|
TestRenderEmailTemplateRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getTemplateData()
A list of replacement values to apply to the template.
|
String |
getTemplateName()
The name of the template.
|
int |
hashCode() |
void |
setTemplateData(String templateData)
A list of replacement values to apply to the template.
|
void |
setTemplateName(String templateName)
The name of the template.
|
String |
toString()
Returns a string representation of this object.
|
TestRenderEmailTemplateRequest |
withTemplateData(String templateData)
A list of replacement values to apply to the template.
|
TestRenderEmailTemplateRequest |
withTemplateName(String templateName)
The name of the template.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setTemplateName(String templateName)
The name of the template.
templateName - The name of the template.public String getTemplateName()
The name of the template.
public TestRenderEmailTemplateRequest withTemplateName(String templateName)
The name of the template.
templateName - The name of the template.public void setTemplateData(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.
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 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.
public TestRenderEmailTemplateRequest withTemplateData(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.
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 String toString()
toString in class ObjectObject.toString()public TestRenderEmailTemplateRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()