public class SendMessageResult extends Object implements Serializable
The MD5OfMessageBody and MessageId elements.
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()
An element containing the message ID of the message sent to the queue.
|
int |
hashCode() |
void |
setMD5OfMessageBody(String mD5OfMessageBody)
An MD5 digest of the non-URL-encoded message body string.
|
void |
setMessageId(String messageId)
An element containing the message ID of the message sent 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)
An element containing the message ID of the message sent 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 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 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 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 getMessageId()
public void setMessageId(String messageId)
messageId
- An element containing the message ID of the message sent to the queue.
For more information, see Queue
and Message Identifiers in the Amazon SQS Developer Guide.public SendMessageResult withMessageId(String messageId)
Returns a reference to this object so that method calls can be chained together.
messageId
- An element containing the message ID of the message sent to the queue.
For more information, see Queue
and Message Identifiers in the Amazon SQS Developer Guide.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.