Class RawMessageContent
- java.lang.Object
-
- software.amazon.awssdk.services.workmailmessageflow.model.RawMessageContent
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RawMessageContent.Builder,RawMessageContent>
@Generated("software.amazon.awssdk:codegen") public final class RawMessageContent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RawMessageContent.Builder,RawMessageContent>
Provides the MIME content of the updated email message as an S3 object. All MIME content must meet the following criteria:
-
Each part of a multipart MIME message must be formatted properly.
-
Attachments must be of a content type that Amazon SES supports. For more information, see Unsupported Attachment Types.
-
If any of the MIME parts in a message contain content that is outside of the 7-bit ASCII character range, we recommend encoding that content.
-
Per RFC 5321, the maximum length of each line of text, including the <CRLF>, must not exceed 1,000 characters.
-
The message must contain all the required header fields. Check the returned error message for more information.
-
The value of immutable headers must remain unchanged. Check the returned error message for more information.
-
Certain unique headers can only appear once. Check the returned error message for more information.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRawMessageContent.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RawMessageContent.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()S3References3Reference()The S3 reference of an email message.List<SdkField<?>>sdkFields()static Class<? extends RawMessageContent.Builder>serializableBuilderClass()RawMessageContent.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
-
s3Reference
public final S3Reference s3Reference()
The S3 reference of an email message.
- Returns:
- The S3 reference of an email message.
-
toBuilder
public RawMessageContent.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RawMessageContent.Builder,RawMessageContent>
-
builder
public static RawMessageContent.Builder builder()
-
serializableBuilderClass
public static Class<? extends RawMessageContent.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.
-
-