@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetEmailTemplateResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The following element is returned by the service.
Constructor and Description |
---|
GetEmailTemplateResult() |
Modifier and Type | Method and Description |
---|---|
GetEmailTemplateResult |
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.
|
GetEmailTemplateResult |
withTemplateContent(EmailTemplateContent templateContent)
The content of the email template, composed of a subject line, an HTML part, and a text-only part.
|
GetEmailTemplateResult |
withTemplateName(String templateName)
The name of the template.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 GetEmailTemplateResult 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 GetEmailTemplateResult 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 GetEmailTemplateResult clone()