com.amazonaws.services.simpleemail.model
Class RawMessage

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

public class RawMessage
extends java.lang.Object

Represents the raw data of the message.


Constructor Summary
RawMessage()
          Default constructor for a new RawMessage object.
RawMessage(java.nio.ByteBuffer data)
          Constructs a new RawMessage object.
 
Method Summary
 java.nio.ByteBuffer getData()
          The raw data of the message.
 void setData(java.nio.ByteBuffer data)
          The raw data of the message.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 RawMessage withData(java.nio.ByteBuffer data)
          The raw data of the message.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, 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(java.nio.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 the Amazon SES Developer Guide.

Method Detail

getData

public java.nio.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 the Amazon 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 the Amazon SES Developer Guide.


setData

public void setData(java.nio.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 the Amazon 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 the Amazon SES Developer Guide.


withData

public RawMessage withData(java.nio.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 the Amazon 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 the Amazon SES Developer Guide.

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

toString

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

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


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