Class SendMessageBatchResultEntry
- All Implemented Interfaces:
Serializable
,Cloneable
Encloses a message ID for successfully enqueued message of a SendMessageBatch.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getId()
An identifier for the message in this batch.An MD5 digest of the non-URL-encoded message attribute string.An MD5 digest of the non-URL-encoded message body string.An identifier for the message.int
hashCode()
void
An identifier for the message in this batch.void
setMD5OfMessageAttributes
(String mD5OfMessageAttributes) An MD5 digest of the non-URL-encoded message attribute string.void
setMD5OfMessageBody
(String mD5OfMessageBody) An MD5 digest of the non-URL-encoded message body string.void
setMessageId
(String messageId) An identifier for the message.toString()
Returns a string representation of this object; useful for testing and debugging.An identifier for the message in this batch.withMD5OfMessageAttributes
(String mD5OfMessageAttributes) An MD5 digest of the non-URL-encoded message attribute string.withMD5OfMessageBody
(String mD5OfMessageBody) An MD5 digest of the non-URL-encoded message body string.withMessageId
(String messageId) An identifier for the message.
-
Constructor Details
-
SendMessageBatchResultEntry
public SendMessageBatchResultEntry()
-
-
Method Details
-
setId
An identifier for the message in this batch.
- Parameters:
id
- An identifier for the message in this batch.
-
getId
An identifier for the message in this batch.
- Returns:
- An identifier for the message in this batch.
-
withId
An identifier for the message in this batch.
- Parameters:
id
- An identifier for the message in this batch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMessageId
An identifier for the message.
- Parameters:
messageId
- An identifier for the message.
-
getMessageId
An identifier for the message.
- Returns:
- An identifier for the message.
-
withMessageId
An identifier for the message.
- Parameters:
messageId
- An identifier for the message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMD5OfMessageBody
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.
-
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.
-
withMD5OfMessageBody
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMD5OfMessageAttributes
An MD5 digest of the non-URL-encoded message attribute string. This can be used to verify that Amazon SQS received the message batch 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 batch 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.
-
getMD5OfMessageAttributes
An MD5 digest of the non-URL-encoded message attribute string. This can be used to verify that Amazon SQS received the message batch 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 batch 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
An MD5 digest of the non-URL-encoded message attribute string. This can be used to verify that Amazon SQS received the message batch 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 batch 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:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-