public class SendMessageBatchResultEntry extends Object implements Serializable, Cloneable
Encloses a message ID for successfully enqueued message of a SendMessageBatch.
Constructor and Description |
---|
SendMessageBatchResultEntry() |
Modifier and Type | Method and Description |
---|---|
SendMessageBatchResultEntry |
clone() |
boolean |
equals(Object obj) |
String |
getId()
An identifier for the message in this batch.
|
String |
getMD5OfMessageAttributes()
An MD5 digest of the non-URL-encoded message attribute string.
|
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 |
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.
|
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 |
withMD5OfMessageAttributes(String mD5OfMessageAttributes)
An MD5 digest of the non-URL-encoded message attribute string.
|
SendMessageBatchResultEntry |
withMD5OfMessageBody(String mD5OfMessageBody)
An MD5 digest of the non-URL-encoded message body string.
|
SendMessageBatchResultEntry |
withMessageId(String messageId)
An identifier for the message.
|
public void setId(String id)
An identifier for the message in this batch.
id
- An identifier for the message in this batch.public String getId()
An identifier for the message in this batch.
public SendMessageBatchResultEntry withId(String id)
An identifier for the message in this batch.
id
- An identifier for the message in this batch.public void setMessageId(String messageId)
An identifier for the message.
messageId
- An identifier for the message.public String getMessageId()
An identifier for the message.
public SendMessageBatchResultEntry withMessageId(String messageId)
An identifier for the message.
messageId
- An identifier for the message.public void setMD5OfMessageBody(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.
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.public 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.
public SendMessageBatchResultEntry withMD5OfMessageBody(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.
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.public void setMD5OfMessageAttributes(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 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.
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.public 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 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.
public SendMessageBatchResultEntry withMD5OfMessageAttributes(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 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.
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.public String toString()
toString
in class Object
Object.toString()
public SendMessageBatchResultEntry clone()
Copyright © 2016. All rights reserved.