Class SendMessageResult
- java.lang.Object
-
- com.amazonaws.services.sqs.model.SendMessageResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class SendMessageResult extends Object implements Serializable, Cloneable
The MD5OfMessageBody and MessageId elements.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SendMessageResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SendMessageResultclone()booleanequals(Object obj)StringgetMD5OfMessageAttributes()An MD5 digest of the non-URL-encoded message attribute string.StringgetMD5OfMessageBody()An MD5 digest of the non-URL-encoded message body string.StringgetMessageId()An element containing the message ID of the message sent to the queue.inthashCode()voidsetMD5OfMessageAttributes(String mD5OfMessageAttributes)An MD5 digest of the non-URL-encoded message attribute string.voidsetMD5OfMessageBody(String mD5OfMessageBody)An MD5 digest of the non-URL-encoded message body string.voidsetMessageId(String messageId)An element containing the message ID of the message sent to the queue.StringtoString()Returns a string representation of this object; useful for testing and debugging.SendMessageResultwithMD5OfMessageAttributes(String mD5OfMessageAttributes)An MD5 digest of the non-URL-encoded message attribute string.SendMessageResultwithMD5OfMessageBody(String mD5OfMessageBody)An MD5 digest of the non-URL-encoded message body string.SendMessageResultwithMessageId(String messageId)An element containing the message ID of the message sent to the queue.
-
-
-
Method Detail
-
setMD5OfMessageBody
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.
- 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
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.
- 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
public SendMessageResult 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.
- 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
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 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 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
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 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 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
public SendMessageResult 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 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 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.
-
setMessageId
public void setMessageId(String 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.
- Parameters:
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.
-
getMessageId
public String getMessageId()
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.
- Returns:
- 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.
-
withMessageId
public SendMessageResult withMessageId(String 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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public SendMessageResult clone()
-
-