public class RawMessage extends Object implements Serializable, Cloneable
Represents the raw data of the message.
Constructor and Description |
---|
RawMessage()
Default constructor for a new RawMessage object.
|
RawMessage(ByteBuffer data)
Constructs a new RawMessage object.
|
Modifier and Type | Method and Description |
---|---|
RawMessage |
clone() |
boolean |
equals(Object obj) |
ByteBuffer |
getData()
The raw data of the message.
|
int |
hashCode() |
void |
setData(ByteBuffer data)
The raw data of the message.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RawMessage |
withData(ByteBuffer data)
The raw data of the message.
|
public RawMessage()
public RawMessage(ByteBuffer data)
data
- The raw data of the message. The client must ensure that
the message format complies with Internet email standards regarding
email header fields, MIME types, MIME encoding, and base64 encoding
(if necessary). The To:, CC:, and BCC: headers in the raw message can contain a group list.
If you are using
SendRawEmail
with sending authorization, you can include
X-headers in the raw message to specify the "Source," "From," and
"Return-Path" addresses. For more information, see the documentation
for SendRawEmail
.
For more information, go to the Amazon SES Developer Guide.
public ByteBuffer getData()
The To:, CC:, and BCC: headers in the raw message can contain a group list.
If you are using SendRawEmail
with sending
authorization, you can include X-headers in the raw message to specify
the "Source," "From," and "Return-Path" addresses. For more
information, see the documentation for SendRawEmail
.
For more information, go to the Amazon SES Developer Guide.
The To:, CC:, and BCC: headers in the raw message can contain a group list.
If you are using SendRawEmail
with sending
authorization, you can include X-headers in the raw message to specify
the "Source," "From," and "Return-Path" addresses. For more
information, see the documentation for SendRawEmail
.
For more information, go to the Amazon SES Developer Guide.
public void setData(ByteBuffer data)
The To:, CC:, and BCC: headers in the raw message can contain a group list.
If you are using SendRawEmail
with sending
authorization, you can include X-headers in the raw message to specify
the "Source," "From," and "Return-Path" addresses. For more
information, see the documentation for SendRawEmail
.
For more information, go to the Amazon SES Developer Guide.
data
- The raw data of the message. The client must ensure that the message
format complies with Internet email standards regarding email header
fields, MIME types, MIME encoding, and base64 encoding (if necessary).
The To:, CC:, and BCC: headers in the raw message can contain a group list.
If you are using SendRawEmail
with sending
authorization, you can include X-headers in the raw message to specify
the "Source," "From," and "Return-Path" addresses. For more
information, see the documentation for SendRawEmail
.
For more information, go to the Amazon SES Developer Guide.
public RawMessage withData(ByteBuffer data)
The To:, CC:, and BCC: headers in the raw message can contain a group list.
If you are using SendRawEmail
with sending
authorization, you can include X-headers in the raw message to specify
the "Source," "From," and "Return-Path" addresses. For more
information, see the documentation for SendRawEmail
.
For more information, go to the Amazon SES Developer Guide.
Returns a reference to this object so that method calls can be chained together.
data
- The raw data of the message. The client must ensure that the message
format complies with Internet email standards regarding email header
fields, MIME types, MIME encoding, and base64 encoding (if necessary).
The To:, CC:, and BCC: headers in the raw message can contain a group list.
If you are using SendRawEmail
with sending
authorization, you can include X-headers in the raw message to specify
the "Source," "From," and "Return-Path" addresses. For more
information, see the documentation for SendRawEmail
.
For more information, go to the Amazon SES Developer Guide.
public String toString()
toString
in class Object
Object.toString()
public RawMessage clone()
Copyright © 2015. All rights reserved.