@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateEmailTemplateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents a request to create an email template. For more information, see the Amazon SES Developer Guide.
NOOP| Constructor and Description |
|---|
CreateEmailTemplateRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateEmailTemplateRequest |
clone() |
boolean |
equals(Object obj) |
EmailTemplateContent |
getTemplateContent()
The content of the email template, composed of a subject line, an HTML part, and a text-only part.
|
String |
getTemplateName()
The name of the template.
|
int |
hashCode() |
void |
setTemplateContent(EmailTemplateContent templateContent)
The content of the email template, composed of a subject line, an HTML part, and a text-only part.
|
void |
setTemplateName(String templateName)
The name of the template.
|
String |
toString()
Returns a string representation of this object.
|
CreateEmailTemplateRequest |
withTemplateContent(EmailTemplateContent templateContent)
The content of the email template, composed of a subject line, an HTML part, and a text-only part.
|
CreateEmailTemplateRequest |
withTemplateName(String templateName)
The name of the template.
|
addHandlerContext, copyBaseTo, 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 CreateEmailTemplateRequest withTemplateName(String templateName)
The name of the template.
templateName - The name of the template.public void setTemplateContent(EmailTemplateContent templateContent)
The content of the email template, composed of a subject line, an HTML part, and a text-only part.
templateContent - The content of the email template, composed of a subject line, an HTML part, and a text-only part.public EmailTemplateContent getTemplateContent()
The content of the email template, composed of a subject line, an HTML part, and a text-only part.
public CreateEmailTemplateRequest withTemplateContent(EmailTemplateContent templateContent)
The content of the email template, composed of a subject line, an HTML part, and a text-only part.
templateContent - The content of the email template, composed of a subject line, an HTML part, and a text-only part.public String toString()
toString in class ObjectObject.toString()public CreateEmailTemplateRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2022. All rights reserved.