Class SimpleEmailPart
java.lang.Object
software.amazon.awssdk.services.pinpoint.model.SimpleEmailPart
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SimpleEmailPart.Builder,SimpleEmailPart>
@Generated("software.amazon.awssdk:codegen")
public final class SimpleEmailPart
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<SimpleEmailPart.Builder,SimpleEmailPart>
Specifies the subject or body of an email message, represented as textual email data and the applicable character set.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic SimpleEmailPart.Builderbuilder()final Stringcharset()The applicable character set for the message content.final Stringdata()The textual data of the message content.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends SimpleEmailPart.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
-
charset
The applicable character set for the message content.
- Returns:
- The applicable character set for the message content.
-
data
The textual data of the message content.
- Returns:
- The textual data of the message content.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<SimpleEmailPart.Builder,SimpleEmailPart>
-
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
-