public class RawMessage extends Object implements Serializable
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 |
---|---|
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). For more information, go to the Amazon SES Developer Guide.
public ByteBuffer getData()
For more information, go to the Amazon SES Developer Guide.
For more information, go to the Amazon SES Developer Guide.
public void setData(ByteBuffer data)
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).
For more information, go to the Amazon SES Developer Guide.
public RawMessage withData(ByteBuffer data)
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).
For more information, go to the Amazon SES Developer Guide.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.