@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTemplateRequest 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 |
|---|
CreateTemplateRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateTemplateRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Template |
getTemplate()
The content of the email, composed of a subject line and either an HTML part or a text-only part.
|
int |
hashCode() |
void |
setTemplate(Template template)
The content of the email, composed of a subject line and either an HTML part or a text-only part.
|
String |
toString()
Returns a string representation of this object.
|
CreateTemplateRequest |
withTemplate(Template template)
The content of the email, composed of a subject line and either an HTML part or a text-only part.
|
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 setTemplate(Template template)
The content of the email, composed of a subject line and either an HTML part or a text-only part.
template - The content of the email, composed of a subject line and either an HTML part or a text-only part.public Template getTemplate()
The content of the email, composed of a subject line and either an HTML part or a text-only part.
public CreateTemplateRequest withTemplate(Template template)
The content of the email, composed of a subject line and either an HTML part or a text-only part.
template - The content of the email, composed of a subject line and either an HTML part or a text-only part.public String toString()
toString in class ObjectObject.toString()public CreateTemplateRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()