@Generated(value="software.amazon.awssdk:codegen") public final class Content extends Object implements ToCopyableBuilder<Content.Builder,Content>
Represents textual data, plus an optional character set specification.
By default, the text must be 7-bit ASCII, due to the constraints of the SMTP protocol. If the text must contain any other characters, then you must also specify a character set. Examples include UTF-8, ISO-8859-1, and Shift_JIS.
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 of the content.
|
String |
data()
The textual data of the content.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
static Class<? extends Content.Builder> |
serializableBuilderClass() |
Content.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String data()
The textual data of the content.
public String charset()
The character set of the content.
public Content.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Content.Builder,Content>
public static Content.Builder builder()
public static Class<? extends Content.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.