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:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Content.Builderbuilder()final Stringcharset()The character set of the content.final Stringdata()The textual data of the content.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends Content.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
data
The textual data of the content.
- Returns:
- The textual data of the content.
-
charset
The character set of the content.
- Returns:
- The character set of the content.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<Content.Builder,Content>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-