public class CreateTemplateRequest extends AmazonWebServiceRequest implements java.io.Serializable
Creates an email template. Email templates enable you to send personalized email to one or more destinations in a single API operation. For more information, see the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
Constructor and Description |
---|
CreateTemplateRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
Template |
getTemplate()
The content of the email, composed of a subject line, an HTML part, and a
text-only part.
|
int |
hashCode() |
void |
setTemplate(Template template)
The content of the email, composed of a subject line, an HTML part, and a
text-only part.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateTemplateRequest |
withTemplate(Template template)
The content of the email, composed of a subject line, an HTML part, and a
text-only part.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public Template getTemplate()
The content of the email, composed of a subject line, an HTML part, and a text-only part.
The content of the email, composed of a subject line, an HTML part, and a text-only part.
public void setTemplate(Template template)
The content of the email, composed of a subject line, an HTML part, and a text-only part.
template
- The content of the email, composed of a subject line, an HTML part, and a text-only part.
public CreateTemplateRequest withTemplate(Template template)
The content of the email, composed of a subject line, an HTML part, and a text-only part.
Returns a reference to this object so that method calls can be chained together.
template
- The content of the email, composed of a subject line, an HTML part, and a text-only part.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.