@Generated(value="software.amazon.awssdk:codegen") public final class Content extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Content.Builder,Content>
An object that represents the content of the email, and optionally a character set specification.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Content.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Content.Builder |
builder() |
String |
charset()
The character set for the content.
|
String |
data()
The content of the message itself.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Content.Builder> |
serializableBuilderClass() |
Content.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String data()
The content of the message itself.
public String charset()
The character set for the content. Because of the constraints of the SMTP protocol, Amazon SES uses 7-bit ASCII
by default. If the text includes characters outside of the ASCII range, you have to specify a character set. For
example, you could specify UTF-8, ISO-8859-1, or Shift_JIS.
UTF-8, ISO-8859-1, or
Shift_JIS.public Content.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Content.Builder,Content>public static Content.Builder builder()
public static Class<? extends Content.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.