@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) |
<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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Body.Builder,Body>
public static Body.Builder builder()
public static Class<? extends Body.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.