com.amazonaws.services.sqs.model
Class SendMessageBatchResultEntry

java.lang.Object
  extended by com.amazonaws.services.sqs.model.SendMessageBatchResultEntry

public class SendMessageBatchResultEntry
extends Object

Encloses a message ID for successfully enqueued message of a SendMessageBatchRequest.


Constructor Summary
SendMessageBatchResultEntry()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getId()
          An identifier for the message in this batch.
 String getMD5OfMessageBody()
          An MD5 digest of the non-URL-encoded message body string.
 String getMessageId()
          An identifier for the message.
 int hashCode()
           
 void setId(String id)
          An identifier for the message in this batch.
 void setMD5OfMessageBody(String mD5OfMessageBody)
          An MD5 digest of the non-URL-encoded message body string.
 void setMessageId(String messageId)
          An identifier for the message.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 SendMessageBatchResultEntry withId(String id)
          An identifier for the message in this batch.
 SendMessageBatchResultEntry withMD5OfMessageBody(String mD5OfMessageBody)
          An MD5 digest of the non-URL-encoded message body string.
 SendMessageBatchResultEntry withMessageId(String messageId)
          An identifier for the message.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SendMessageBatchResultEntry

public SendMessageBatchResultEntry()
Method Detail

getId

public String getId()
An identifier for the message in this batch.

Returns:
An identifier for the message in this batch.

setId

public void setId(String id)
An identifier for the message in this batch.

Parameters:
id - An identifier for the message in this batch.

withId

public SendMessageBatchResultEntry withId(String id)
An identifier for the message in this batch.

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

Parameters:
id - An identifier for the message in this batch.
Returns:
A reference to this updated object so that method calls can be chained together.

getMessageId

public String getMessageId()
An identifier for the message.

Returns:
An identifier for the message.

setMessageId

public void setMessageId(String messageId)
An identifier for the message.

Parameters:
messageId - An identifier for the message.

withMessageId

public SendMessageBatchResultEntry withMessageId(String messageId)
An identifier for the message.

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

Parameters:
messageId - An identifier for the message.
Returns:
A reference to this updated object so that method calls can be chained together.

getMD5OfMessageBody

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

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

setMD5OfMessageBody

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

withMD5OfMessageBody

public SendMessageBatchResultEntry withMD5OfMessageBody(String mD5OfMessageBody)
An MD5 digest of the non-URL-encoded message body string. This can be used to verify that SQS received the message correctly. SQS first URL decodes the message before creating the MD5 digest. For information about MD5, go to http://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 SQS received the message correctly. SQS first URL decodes the message before creating the MD5 digest. For information about MD5, go to http://faqs.org/rfcs/rfc1321.html.
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.