Interface Content.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Content.Builder,Content>,SdkBuilder<Content.Builder,Content>,SdkPojo
- Enclosing class:
- Content
public static interface Content.Builder extends SdkPojo, CopyableBuilder<Content.Builder,Content>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Content.Buildercharset(String charset)The character set for the content.Content.Builderdata(String data)The content of the message itself.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
data
Content.Builder data(String data)
The content of the message itself.
- Parameters:
data- The content of the message itself.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
charset
Content.Builder charset(String charset)
The character set for the content. Because of the constraints of the SMTP protocol, Amazon SES uses 7-bit ASCII by default. If the text includes characters outside of the ASCII range, you have to specify a character set. For example, you could specify
UTF-8,ISO-8859-1, orShift_JIS.- Parameters:
charset- The character set for the content. Because of the constraints of the SMTP protocol, Amazon SES uses 7-bit ASCII by default. If the text includes characters outside of the ASCII range, you have to specify a character set. For example, you could specifyUTF-8,ISO-8859-1, orShift_JIS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-