@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, wait
copy
public 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 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 boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.