Class Message
java.lang.Object
software.amazon.awssdk.services.ses.model.Message
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Message.Builder,Message>
@Generated("software.amazon.awssdk:codegen")
public final class Message
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<Message.Builder,Message>
Represents the message to be sent, composed of a subject and a body.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Bodybody()The message body.static Message.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends Message.Builder>final Contentsubject()The subject of the message: A short summary of the content, which appears in the recipient's inbox.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
-
subject
The subject of the message: A short summary of the content, which appears in the recipient's inbox.
- Returns:
- The subject of the message: A short summary of the content, which appears in the recipient's inbox.
-
body
The message body.
- Returns:
- The message body.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<Message.Builder,Message>
-
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
-