@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 that you want to render.
|
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 that you want to render.
|
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 that you want to render.
|
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, withSdkRequestTimeout
public void setTemplateName(String templateName)
The name of the template that you want to render.
templateName
- The name of the template that you want to render.public String getTemplateName()
The name of the template that you want to render.
public TestRenderEmailTemplateRequest withTemplateName(String templateName)
The name of the template that you want to render.
templateName
- The name of the template that you want to render.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 Object
Object.toString()
public TestRenderEmailTemplateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()