public class SendMessageResult extends Object implements Serializable
Constructor and Description |
---|
SendMessageResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getMD5OfMessageBody()
An MD5 digest of the non-URL-encoded message body string.
|
String |
getMessageId()
The message ID of the message added to the queue.
|
int |
hashCode() |
void |
setMD5OfMessageBody(String mD5OfMessageBody)
An MD5 digest of the non-URL-encoded message body string.
|
void |
setMessageId(String messageId)
The message ID of the message added to the queue.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SendMessageResult |
withMD5OfMessageBody(String mD5OfMessageBody)
An MD5 digest of the non-URL-encoded message body string.
|
SendMessageResult |
withMessageId(String messageId)
The message ID of the message added to the queue.
|
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 SendMessageResult 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 getMessageId()
public void setMessageId(String messageId)
messageId
- The message ID of the message added to the queue.public SendMessageResult withMessageId(String messageId)
Returns a reference to this object so that method calls can be chained together.
messageId
- The message ID of the message added to the queue.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.