@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, wait
copy
public final String subject()
The subject line of the email.
public final String text()
The email body that will be visible to recipients whose email clients do not display HTML.
public final 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 final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2021. All rights reserved.