@Generated(value="software.amazon.awssdk:codegen") public final class SimpleEmail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SimpleEmail.Builder,SimpleEmail>
Specifies the contents of an email message, composed of a subject, a text part, and an HTML part.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SimpleEmail.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SimpleEmail.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
SimpleEmailPart |
htmlPart()
The body of the email message, in HTML format.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SimpleEmail.Builder> |
serializableBuilderClass() |
SimpleEmailPart |
subject()
The subject line, or title, of the email.
|
SimpleEmailPart |
textPart()
The body of the email message, in plain text format.
|
SimpleEmail.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic SimpleEmailPart htmlPart()
The body of the email message, in HTML format. We recommend using HTML format for email clients that render HTML content. You can include links, formatted text, and more in an HTML message.
public SimpleEmailPart subject()
The subject line, or title, of the email.
public SimpleEmailPart textPart()
The body of the email message, in plain text format. We recommend using plain text format for email clients that don't render HTML content and clients that are connected to high-latency networks, such as mobile devices.
public SimpleEmail.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SimpleEmail.Builder,SimpleEmail>public static SimpleEmail.Builder builder()
public static Class<? extends SimpleEmail.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.