@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateEmailTemplateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents a request to update an email template. For more information, see the Amazon SES Developer Guide.
NOOP
Constructor and Description |
---|
UpdateEmailTemplateRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateEmailTemplateRequest |
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 you want to update.
|
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 you want to update.
|
String |
toString()
Returns a string representation of this object.
|
UpdateEmailTemplateRequest |
withTemplateContent(EmailTemplateContent templateContent)
The content of the email template, composed of a subject line, an HTML part, and a text-only part.
|
UpdateEmailTemplateRequest |
withTemplateName(String templateName)
The name of the template you want to update.
|
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 you want to update.
templateName
- The name of the template you want to update.public String getTemplateName()
The name of the template you want to update.
public UpdateEmailTemplateRequest withTemplateName(String templateName)
The name of the template you want to update.
templateName
- The name of the template you want to update.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 UpdateEmailTemplateRequest 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 UpdateEmailTemplateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()