public class SendMessageBatchResultEntry extends Object implements Serializable
Encloses a message ID for successfully enqueued message of a SendMessageBatch.
Constructor and Description |
---|
SendMessageBatchResultEntry() |
Modifier and Type | Method and Description |
---|---|
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.
|
public String getId()
public void setId(String id)
id
- An identifier for the message in this batch.public SendMessageBatchResultEntry withId(String id)
Returns a reference to this object so that method calls can be chained together.
id
- An identifier for the message in this batch.public String getMessageId()
public void setMessageId(String messageId)
messageId
- An identifier for the message.public SendMessageBatchResultEntry withMessageId(String messageId)
Returns a reference to this object so that method calls can be chained together.
messageId
- An identifier for the message.public String getMD5OfMessageBody()
public void setMD5OfMessageBody(String mD5OfMessageBody)
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.public SendMessageBatchResultEntry withMD5OfMessageBody(String mD5OfMessageBody)
Returns a reference to this object so that method calls can be chained together.
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.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.