Class Content
- java.lang.Object
-
- software.amazon.awssdk.services.ses.model.Content
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Content.Builder,Content>
@Generated("software.amazon.awssdk:codegen") public final class Content extends Object implements SdkPojo, Serializable, 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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceContent.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Content.Builderbuilder()Stringcharset()The character set of the content.Stringdata()The textual data of the content.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Content.Builder>serializableBuilderClass()Content.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
data
public final String data()
The textual data of the content.
- Returns:
- The textual data of the content.
-
charset
public final String charset()
The character set of the content.
- Returns:
- The character set of the content.
-
toBuilder
public Content.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Content.Builder,Content>
-
builder
public static Content.Builder builder()
-
serializableBuilderClass
public static Class<? extends Content.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-