com.amazonaws.services.simpleemail.model
Class RawMessage

java.lang.Object
  extended by com.amazonaws.services.simpleemail.model.RawMessage

public class RawMessage
extends Object

Represents the raw data of the message.


Constructor Summary
RawMessage()
          Default constructor for a new RawMessage object.
RawMessage(ByteBuffer data)
          Constructs a new RawMessage object.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RawMessage

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


RawMessage

public RawMessage(ByteBuffer data)
Constructs a new RawMessage object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
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 theAmazon SES Developer Guide.

Method Detail

getData

public ByteBuffer getData()
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 theAmazon SES Developer Guide.

Returns:
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 theAmazon SES Developer Guide.


setData

public void setData(ByteBuffer 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 theAmazon SES Developer Guide.

Parameters:
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 theAmazon SES Developer Guide.


withData

public RawMessage withData(ByteBuffer 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 theAmazon SES Developer Guide.

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

Parameters:
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 theAmazon SES Developer Guide.

Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.