@Generated(value="software.amazon.awssdk:codegen") public final class EmailTemplateContent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EmailTemplateContent.Builder,EmailTemplateContent>
The content of the email, composed of a subject line, an HTML part, and a text-only part.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EmailTemplateContent.Builder |
| Modifier and Type | Method and Description |
|---|---|
static EmailTemplateContent.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
html()
The HTML body of the email.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EmailTemplateContent.Builder> |
serializableBuilderClass() |
String |
subject()
The subject line of the email.
|
String |
text()
The email body that will be visible to recipients whose email clients do not display HTML.
|
EmailTemplateContent.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String subject()
The subject line of the email.
public String text()
The email body that will be visible to recipients whose email clients do not display HTML.
public String html()
The HTML body of the email.
public EmailTemplateContent.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EmailTemplateContent.Builder,EmailTemplateContent>public static EmailTemplateContent.Builder builder()
public static Class<? extends EmailTemplateContent.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.