@Generated(value="software.amazon.awssdk:codegen") public final class Body extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Body.Builder,Body>
Represents the body of the email message.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Body.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Body.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Content |
html()
An object that represents the version of the message that is displayed in email clients that support HTML.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Body.Builder> |
serializableBuilderClass() |
Content |
text()
An object that represents the version of the message that is displayed in email clients that don't support HTML,
or clients where the recipient has disabled HTML rendering.
|
Body.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Content text()
An object that represents the version of the message that is displayed in email clients that don't support HTML, or clients where the recipient has disabled HTML rendering.
public final Content html()
An object that represents the version of the message that is displayed in email clients that support HTML. HTML messages can include formatted text, hyperlinks, images, and more.
public Body.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Body.Builder,Body>public static Body.Builder builder()
public static Class<? extends Body.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.