com.amazonaws.services.sqs.model
Class SendMessageResult

java.lang.Object
  extended by com.amazonaws.services.sqs.model.SendMessageResult
All Implemented Interfaces:
java.io.Serializable

public class SendMessageResult
extends java.lang.Object
implements java.io.Serializable

The MD5OfMessageBody and MessageId elements.

See Also:
Serialized Form

Constructor Summary
SendMessageResult()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getMD5OfMessageAttributes()
          An MD5 digest of the non-URL-encoded message attribute string.
 java.lang.String getMD5OfMessageBody()
          An MD5 digest of the non-URL-encoded message body string.
 java.lang.String getMessageId()
          An element containing the message ID of the message sent to the queue.
 int hashCode()
           
 void setMD5OfMessageAttributes(java.lang.String mD5OfMessageAttributes)
          An MD5 digest of the non-URL-encoded message attribute string.
 void setMD5OfMessageBody(java.lang.String mD5OfMessageBody)
          An MD5 digest of the non-URL-encoded message body string.
 void setMessageId(java.lang.String messageId)
          An element containing the message ID of the message sent to the queue.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 SendMessageResult withMD5OfMessageAttributes(java.lang.String mD5OfMessageAttributes)
          An MD5 digest of the non-URL-encoded message attribute string.
 SendMessageResult withMD5OfMessageBody(java.lang.String mD5OfMessageBody)
          An MD5 digest of the non-URL-encoded message body string.
 SendMessageResult withMessageId(java.lang.String messageId)
          An element containing the message ID of the message sent to the queue.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SendMessageResult

public SendMessageResult()
Method Detail

getMD5OfMessageBody

public java.lang.String getMD5OfMessageBody()
An MD5 digest of the non-URL-encoded message body string. This can be used to verify that Amazon SQS received the message correctly. Amazon SQS first URL decodes the message before creating the MD5 digest. For information about MD5, go to http://www.faqs.org/rfcs/rfc1321.html.

Returns:
An MD5 digest of the non-URL-encoded message body string. This can be used to verify that Amazon SQS received the message correctly. Amazon SQS first URL decodes the message before creating the MD5 digest. For information about MD5, go to http://www.faqs.org/rfcs/rfc1321.html.

setMD5OfMessageBody

public void setMD5OfMessageBody(java.lang.String mD5OfMessageBody)
An MD5 digest of the non-URL-encoded message body string. This can be used to verify that Amazon SQS received the message correctly. Amazon SQS first URL decodes the message before creating the MD5 digest. For information about MD5, go to http://www.faqs.org/rfcs/rfc1321.html.

Parameters:
mD5OfMessageBody - An MD5 digest of the non-URL-encoded message body string. This can be used to verify that Amazon SQS received the message correctly. Amazon SQS first URL decodes the message before creating the MD5 digest. For information about MD5, go to http://www.faqs.org/rfcs/rfc1321.html.

withMD5OfMessageBody

public SendMessageResult withMD5OfMessageBody(java.lang.String mD5OfMessageBody)
An MD5 digest of the non-URL-encoded message body string. This can be used to verify that Amazon SQS received the message correctly. Amazon SQS first URL decodes the message before creating the MD5 digest. For information about MD5, go to http://www.faqs.org/rfcs/rfc1321.html.

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

Parameters:
mD5OfMessageBody - An MD5 digest of the non-URL-encoded message body string. This can be used to verify that Amazon SQS received the message correctly. Amazon SQS first URL decodes the message before creating the MD5 digest. For information about MD5, go to http://www.faqs.org/rfcs/rfc1321.html.
Returns:
A reference to this updated object so that method calls can be chained together.

getMD5OfMessageAttributes

public java.lang.String getMD5OfMessageAttributes()
An MD5 digest of the non-URL-encoded message attribute string. This can be used to verify that Amazon SQS received the message correctly. Amazon SQS first URL decodes the message before creating the MD5 digest. For information about MD5, go to http://www.faqs.org/rfcs/rfc1321.html.

Returns:
An MD5 digest of the non-URL-encoded message attribute string. This can be used to verify that Amazon SQS received the message correctly. Amazon SQS first URL decodes the message before creating the MD5 digest. For information about MD5, go to http://www.faqs.org/rfcs/rfc1321.html.

setMD5OfMessageAttributes

public void setMD5OfMessageAttributes(java.lang.String mD5OfMessageAttributes)
An MD5 digest of the non-URL-encoded message attribute string. This can be used to verify that Amazon SQS received the message correctly. Amazon SQS first URL decodes the message before creating the MD5 digest. For information about MD5, go to http://www.faqs.org/rfcs/rfc1321.html.

Parameters:
mD5OfMessageAttributes - An MD5 digest of the non-URL-encoded message attribute string. This can be used to verify that Amazon SQS received the message correctly. Amazon SQS first URL decodes the message before creating the MD5 digest. For information about MD5, go to http://www.faqs.org/rfcs/rfc1321.html.

withMD5OfMessageAttributes

public SendMessageResult withMD5OfMessageAttributes(java.lang.String mD5OfMessageAttributes)
An MD5 digest of the non-URL-encoded message attribute string. This can be used to verify that Amazon SQS received the message correctly. Amazon SQS first URL decodes the message before creating the MD5 digest. For information about MD5, go to http://www.faqs.org/rfcs/rfc1321.html.

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

Parameters:
mD5OfMessageAttributes - An MD5 digest of the non-URL-encoded message attribute string. This can be used to verify that Amazon SQS received the message correctly. Amazon SQS first URL decodes the message before creating the MD5 digest. For information about MD5, go to http://www.faqs.org/rfcs/rfc1321.html.
Returns:
A reference to this updated object so that method calls can be chained together.

getMessageId

public java.lang.String getMessageId()
An element containing the message ID of the message sent to the queue. For more information, see Queue and Message Identifiers in the Amazon SQS Developer Guide.

Returns:
An element containing the message ID of the message sent to the queue. For more information, see Queue and Message Identifiers in the Amazon SQS Developer Guide.

setMessageId

public void setMessageId(java.lang.String messageId)
An element containing the message ID of the message sent to the queue. For more information, see Queue and Message Identifiers in the Amazon SQS Developer Guide.

Parameters:
messageId - An element containing the message ID of the message sent to the queue. For more information, see Queue and Message Identifiers in the Amazon SQS Developer Guide.

withMessageId

public SendMessageResult withMessageId(java.lang.String messageId)
An element containing the message ID of the message sent to the queue. For more information, see Queue and Message Identifiers in the Amazon SQS Developer Guide.

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

Parameters:
messageId - An element containing the message ID of the message sent to the queue. For more information, see Queue and Message Identifiers in the Amazon SQS 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()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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