@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 you want to retrieve.
|
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 retrieve.
|
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 you want to retrieve.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setTemplateName(String templateName)
The name of the template you want to retrieve.
templateName
- The name of the template you want to retrieve.public String getTemplateName()
The name of the template you want to retrieve.
public GetEmailTemplateResult withTemplateName(String templateName)
The name of the template you want to retrieve.
templateName
- The name of the template you want to retrieve.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()