ToCopyableBuilder<Content.Builder,Content>
@Generated("software.amazon.awssdk:codegen") public 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 | Description |
---|---|---|
static interface |
Content.Builder |
Modifier and Type | Method | 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) |
|
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() |
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.