com.amazonaws.services.simpleemail.model

## クラス SendRawEmailRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.simpleemail.model.SendRawEmailRequest

- すべての実装されたインタフェース:
    java.io.Serializable

      public class SendRawEmailRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `SendRawEmail operation`.

  Sends an email message, with header and content specified by the client. The `SendRawEmail` action is useful for sending multipart MIME emails. The raw text of the message must comply with Internet email standards; otherwise, the message cannot be sent.

  IMPORTANT:If you have not yet requested production access to Amazon SES, then you will only be able to send email to and from verified email addresses and domains. For more information, go to the Amazon SES Developer Guide.

  The total size of the message cannot exceed 10 MB. This includes any attachments that are part of the message.

  Amazon SES has a limit on the total number of recipients per message: The combined number of To:, CC: and BCC: email addresses cannot exceed 50. If you need to send an email message to a larger audience, you can divide your recipient list into groups of 50 or fewer, and then call Amazon SES repeatedly to send the message to each group.

  For every message that you send, the total number of recipients (To:, CC: and BCC:) is counted against your sending quota - the maximum number of emails you can send in a 24-hour period. For information about your sending quota, go to the "Managing Your Sending Activity" section of the Amazon SES Developer Guide .

  関連項目:
    `AmazonSimpleEmailService.sendRawEmail(SendRawEmailRequest)`, 直列化された形式

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `SendRawEmailRequest()` Default constructor for a new SendRawEmailRequest object.
    `SendRawEmailRequest(RawMessage rawMessage)` Constructs a new SendRawEmailRequest object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.util.List<java.lang.String>` | `getDestinations()` A list of destinations for the message.
    `RawMessage` | `getRawMessage()` The raw text of the message.
    `java.lang.String` | `getSource()` The identity's email address.
    `int` | `hashCode()`
    `void` | `setDestinations(java.util.Collection<java.lang.String> destinations)` A list of destinations for the message.
    `void` | `setRawMessage(RawMessage rawMessage)` The raw text of the message.
    `void` | `setSource(java.lang.String source)` The identity's email address.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `SendRawEmailRequest` | `withDestinations(java.util.Collection<java.lang.String> destinations)` A list of destinations for the message.
    `SendRawEmailRequest` | `withDestinations(java.lang.String... destinations)` A list of destinations for the message.
    `SendRawEmailRequest` | `withRawMessage(RawMessage rawMessage)` The raw text of the message.
    `SendRawEmailRequest` | `withSource(java.lang.String source)` The identity's email address.

    - ### クラスから継承されたメソッド com.amazonaws.AmazonWebServiceRequest

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### SendRawEmailRequest

          public SendRawEmailRequest()

      Default constructor for a new SendRawEmailRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

    - #### SendRawEmailRequest

          public SendRawEmailRequest(RawMessage rawMessage)

      Constructs a new SendRawEmailRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `rawMessage` - The raw text of the message. The client is responsible for ensuring the following:

        - Message must contain a header and a body, separated by a blank line.
        - All required header fields must be present.
        - Each part of a multipart MIME message must be formatted properly.
        - MIME content types must be among those supported by Amazon SES. Refer to the Amazon SES Developer Guide for more details.
        - Content must be base64-encoded, if MIME requires it.

  - ### メソッドの詳細

    - #### getSource

          public java.lang.String getSource()

      The identity's email address. If you specify the `Source` parameter, then bounce notifications and complaints will be sent to this email address. This takes precedence over any Return-Path header that you might include in the raw text of the message.
      戻り値:
        The identity's email address. If you specify the `Source` parameter, then bounce notifications and complaints will be sent to this email address. This takes precedence over any Return-Path header that you might include in the raw text of the message.

    - #### setSource

          public void setSource(java.lang.String source)

      The identity's email address. If you specify the `Source` parameter, then bounce notifications and complaints will be sent to this email address. This takes precedence over any Return-Path header that you might include in the raw text of the message.
      パラメータ:
        `source` - The identity's email address. If you specify the `Source` parameter, then bounce notifications and complaints will be sent to this email address. This takes precedence over any Return-Path header that you might include in the raw text of the message.

    - #### withSource

          public SendRawEmailRequest withSource(java.lang.String source)

      The identity's email address. If you specify the `Source` parameter, then bounce notifications and complaints will be sent to this email address. This takes precedence over any Return-Path header that you might include in the raw text of the message.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `source` - The identity's email address. If you specify the `Source` parameter, then bounce notifications and complaints will be sent to this email address. This takes precedence over any Return-Path header that you might include in the raw text of the message.

    - #### getDestinations

          public java.util.List<java.lang.String> getDestinations()

      A list of destinations for the message.
      戻り値:
        A list of destinations for the message.

    - #### setDestinations

          public void setDestinations(java.util.Collection<java.lang.String> destinations)

      A list of destinations for the message.
      パラメータ:
        `destinations` - A list of destinations for the message.

    - #### withDestinations

          public SendRawEmailRequest withDestinations(java.lang.String... destinations)

      A list of destinations for the message.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `destinations` - A list of destinations for the message.

    - #### withDestinations

          public SendRawEmailRequest withDestinations(java.util.Collection<java.lang.String> destinations)

      A list of destinations for the message.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `destinations` - A list of destinations for the message.

    - #### getRawMessage

          public RawMessage getRawMessage()

      The raw text of the message. The client is responsible for ensuring the following:

      - Message must contain a header and a body, separated by a blank line.
      - All required header fields must be present.
      - Each part of a multipart MIME message must be formatted properly.
      - MIME content types must be among those supported by Amazon SES. Refer to the Amazon SES Developer Guide for more details.
      - Content must be base64-encoded, if MIME requires it.
      戻り値:
        The raw text of the message. The client is responsible for ensuring the following:

        - Message must contain a header and a body, separated by a blank line.
        - All required header fields must be present.
        - Each part of a multipart MIME message must be formatted properly.
        - MIME content types must be among those supported by Amazon SES. Refer to the Amazon SES Developer Guide for more details.
        - Content must be base64-encoded, if MIME requires it.

    - #### setRawMessage

          public void setRawMessage(RawMessage rawMessage)

      The raw text of the message. The client is responsible for ensuring the following:

      - Message must contain a header and a body, separated by a blank line.
      - All required header fields must be present.
      - Each part of a multipart MIME message must be formatted properly.
      - MIME content types must be among those supported by Amazon SES. Refer to the Amazon SES Developer Guide for more details.
      - Content must be base64-encoded, if MIME requires it.
      パラメータ:
        `rawMessage` - The raw text of the message. The client is responsible for ensuring the following:

        - Message must contain a header and a body, separated by a blank line.
        - All required header fields must be present.
        - Each part of a multipart MIME message must be formatted properly.
        - MIME content types must be among those supported by Amazon SES. Refer to the Amazon SES Developer Guide for more details.
        - Content must be base64-encoded, if MIME requires it.

    - #### withRawMessage

          public SendRawEmailRequest withRawMessage(RawMessage rawMessage)

      The raw text of the message. The client is responsible for ensuring the following:

      - Message must contain a header and a body, separated by a blank line.
      - All required header fields must be present.
      - Each part of a multipart MIME message must be formatted properly.
      - MIME content types must be among those supported by Amazon SES. Refer to the Amazon SES Developer Guide for more details.
      - Content must be base64-encoded, if MIME requires it.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `rawMessage` - The raw text of the message. The client is responsible for ensuring the following:

        - Message must contain a header and a body, separated by a blank line.
        - All required header fields must be present.
        - Each part of a multipart MIME message must be formatted properly.
        - MIME content types must be among those supported by Amazon SES. Refer to the Amazon SES Developer Guide for more details.
        - Content must be base64-encoded, if MIME requires it.

    - #### toString

          public java.lang.String toString()

      Returns a string representation of this object; useful for testing and debugging.
      オーバーライド:
        `toString` クラス内 `java.lang.Object`
      戻り値:
        A string representation of this object.
      関連項目:
        `Object.toString()`

    - #### hashCode

          public int hashCode()

      オーバーライド:
        `hashCode` クラス内 `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      オーバーライド:
        `equals` クラス内 `java.lang.Object`