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 Details

    • 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 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, or Shift_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 specify UTF-8, ISO-8859-1, or Shift_JIS.
      Returns:
      Returns a reference to this object so that method calls can be chained together.