@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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, 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.
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 Object
Object.toString()
public CreateEmailTemplateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()