com.amazonaws.services.simpleemail.model

## クラス SendEmailRequest

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

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

      public class SendEmailRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `SendEmail operation`.

  Composes an email message based on input data, and then immediately queues the message for sending.

  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.

  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.sendEmail(SendEmailRequest)`, 直列化された形式

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

    コンストラクタ
    コンストラクタと説明
    `SendEmailRequest()` Default constructor for a new SendEmailRequest object.
    `SendEmailRequest(java.lang.String source, Destination destination, Message message)` Constructs a new SendEmailRequest object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `Destination` | `getDestination()` The destination for this email, composed of To:, CC:, and BCC: fields.
    `Message` | `getMessage()` The message to be sent.
    `java.util.List<java.lang.String>` | `getReplyToAddresses()` The reply-to email address(es) for the message.
    `java.lang.String` | `getReturnPath()` The email address to which bounce notifications are to be forwarded.
    `java.lang.String` | `getSource()` The identity's email address.
    `int` | `hashCode()`
    `void` | `setDestination(Destination destination)` The destination for this email, composed of To:, CC:, and BCC: fields.
    `void` | `setMessage(Message message)` The message to be sent.
    `void` | `setReplyToAddresses(java.util.Collection<java.lang.String> replyToAddresses)` The reply-to email address(es) for the message.
    `void` | `setReturnPath(java.lang.String returnPath)` The email address to which bounce notifications are to be forwarded.
    `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.
    `SendEmailRequest` | `withDestination(Destination destination)` The destination for this email, composed of To:, CC:, and BCC: fields.
    `SendEmailRequest` | `withMessage(Message message)` The message to be sent.
    `SendEmailRequest` | `withReplyToAddresses(java.util.Collection<java.lang.String> replyToAddresses)` The reply-to email address(es) for the message.
    `SendEmailRequest` | `withReplyToAddresses(java.lang.String... replyToAddresses)` The reply-to email address(es) for the message.
    `SendEmailRequest` | `withReturnPath(java.lang.String returnPath)` The email address to which bounce notifications are to be forwarded.
    `SendEmailRequest` | `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`

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

    - #### SendEmailRequest

          public SendEmailRequest()

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

    - #### SendEmailRequest

          public SendEmailRequest(java.lang.String source,
                          Destination destination,
                          Message message)

      Constructs a new SendEmailRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `source` - The identity's email address.
        `destination` - The destination for this email, composed of To:, CC:, and BCC: fields.
        `message` - The message to be sent.

  - ### メソッドの詳細

    - #### getSource

          public java.lang.String getSource()

      The identity's email address.
      戻り値:
        The identity's email address.

    - #### setSource

          public void setSource(java.lang.String source)

      The identity's email address.
      パラメータ:
        `source` - The identity's email address.

    - #### withSource

          public SendEmailRequest withSource(java.lang.String source)

      The identity's email address.

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

      パラメータ:
        `source` - The identity's email address.

    - #### getDestination

          public Destination getDestination()

      The destination for this email, composed of To:, CC:, and BCC: fields.
      戻り値:
        The destination for this email, composed of To:, CC:, and BCC: fields.

    - #### setDestination

          public void setDestination(Destination destination)

      The destination for this email, composed of To:, CC:, and BCC: fields.
      パラメータ:
        `destination` - The destination for this email, composed of To:, CC:, and BCC: fields.

    - #### withDestination

          public SendEmailRequest withDestination(Destination destination)

      The destination for this email, composed of To:, CC:, and BCC: fields.

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

      パラメータ:
        `destination` - The destination for this email, composed of To:, CC:, and BCC: fields.

    - #### getMessage

          public Message getMessage()

      The message to be sent.
      戻り値:
        The message to be sent.

    - #### setMessage

          public void setMessage(Message message)

      The message to be sent.
      パラメータ:
        `message` - The message to be sent.

    - #### withMessage

          public SendEmailRequest withMessage(Message message)

      The message to be sent.

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

      パラメータ:
        `message` - The message to be sent.

    - #### getReplyToAddresses

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

      The reply-to email address(es) for the message. If the recipient replies to the message, each reply-to address will receive the reply.
      戻り値:
        The reply-to email address(es) for the message. If the recipient replies to the message, each reply-to address will receive the reply.

    - #### setReplyToAddresses

          public void setReplyToAddresses(java.util.Collection<java.lang.String> replyToAddresses)

      The reply-to email address(es) for the message. If the recipient replies to the message, each reply-to address will receive the reply.
      パラメータ:
        `replyToAddresses` - The reply-to email address(es) for the message. If the recipient replies to the message, each reply-to address will receive the reply.

    - #### withReplyToAddresses

          public SendEmailRequest withReplyToAddresses(java.lang.String... replyToAddresses)

      The reply-to email address(es) for the message. If the recipient replies to the message, each reply-to address will receive the reply.

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

      パラメータ:
        `replyToAddresses` - The reply-to email address(es) for the message. If the recipient replies to the message, each reply-to address will receive the reply.

    - #### withReplyToAddresses

          public SendEmailRequest withReplyToAddresses(java.util.Collection<java.lang.String> replyToAddresses)

      The reply-to email address(es) for the message. If the recipient replies to the message, each reply-to address will receive the reply.

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

      パラメータ:
        `replyToAddresses` - The reply-to email address(es) for the message. If the recipient replies to the message, each reply-to address will receive the reply.

    - #### getReturnPath

          public java.lang.String getReturnPath()

      The email address to which bounce notifications are to be forwarded. If the message cannot be delivered to the recipient, then an error message will be returned from the recipient's ISP; this message will then be forwarded to the email address specified by the `ReturnPath` parameter.
      戻り値:
        The email address to which bounce notifications are to be forwarded. If the message cannot be delivered to the recipient, then an error message will be returned from the recipient's ISP; this message will then be forwarded to the email address specified by the `ReturnPath` parameter.

    - #### setReturnPath

          public void setReturnPath(java.lang.String returnPath)

      The email address to which bounce notifications are to be forwarded. If the message cannot be delivered to the recipient, then an error message will be returned from the recipient's ISP; this message will then be forwarded to the email address specified by the `ReturnPath` parameter.
      パラメータ:
        `returnPath` - The email address to which bounce notifications are to be forwarded. If the message cannot be delivered to the recipient, then an error message will be returned from the recipient's ISP; this message will then be forwarded to the email address specified by the `ReturnPath` parameter.

    - #### withReturnPath

          public SendEmailRequest withReturnPath(java.lang.String returnPath)

      The email address to which bounce notifications are to be forwarded. If the message cannot be delivered to the recipient, then an error message will be returned from the recipient's ISP; this message will then be forwarded to the email address specified by the `ReturnPath` parameter.

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

      パラメータ:
        `returnPath` - The email address to which bounce notifications are to be forwarded. If the message cannot be delivered to the recipient, then an error message will be returned from the recipient's ISP; this message will then be forwarded to the email address specified by the `ReturnPath` parameter.

    - #### 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`