Interface Content.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Content.Builder,
,Content> SdkBuilder<Content.Builder,
,Content> SdkPojo
- Enclosing class:
Content
-
Method Summary
Modifier and TypeMethodDescriptionThe character set for the content.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 Details
-
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
The character set for the content. Because of the constraints of the SMTP protocol, Amazon Pinpoint 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 Pinpoint 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.
-