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 |
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 element containing the message ID of the message sent to the queue.
|
String |
getSequenceNumber()
This element applies only to FIFO (first-in-first-out) queues.
|
int |
hashCode() |
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 element containing the message ID of the message sent to the queue.
|
void |
setSequenceNumber(String sequenceNumber)
This element applies only to FIFO (first-in-first-out) queues.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SendMessageResult |
withMD5OfMessageAttributes(String mD5OfMessageAttributes)
An MD5 digest of the non-URL-encoded message attribute string.
|
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.
|
SendMessageResult |
withSequenceNumber(String sequenceNumber)
This element applies only to FIFO (first-in-first-out) queues.
|
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, see RFC1321.
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, see RFC1321.
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, see RFC1321.
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, see RFC1321.
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, see RFC1321.
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, see RFC1321.
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, see RFC1321.
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, see RFC1321.
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, see RFC1321.
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, see RFC1321.
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, see RFC1321.
Returns a reference to this object so that method calls can be chained together.
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, see RFC1321.
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.
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 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.
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)
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 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 getSequenceNumber()
This element applies only to FIFO (first-in-first-out) queues.
A large, non-consecutive number that Amazon SQS assigns to each message.
The length of SequenceNumber is 128 bits.
SequenceNumber continues to increase for a particular
MessageGroupId.
This element applies only to FIFO (first-in-first-out) queues.
A large, non-consecutive number that Amazon SQS assigns to each message.
The length of SequenceNumber is 128 bits.
SequenceNumber continues to increase for a
particular MessageGroupId.
public void setSequenceNumber(String sequenceNumber)
This element applies only to FIFO (first-in-first-out) queues.
A large, non-consecutive number that Amazon SQS assigns to each message.
The length of SequenceNumber is 128 bits.
SequenceNumber continues to increase for a particular
MessageGroupId.
sequenceNumber - This element applies only to FIFO (first-in-first-out) queues.
A large, non-consecutive number that Amazon SQS assigns to each message.
The length of SequenceNumber is 128 bits.
SequenceNumber continues to increase for a
particular MessageGroupId.
public SendMessageResult withSequenceNumber(String sequenceNumber)
This element applies only to FIFO (first-in-first-out) queues.
A large, non-consecutive number that Amazon SQS assigns to each message.
The length of SequenceNumber is 128 bits.
SequenceNumber continues to increase for a particular
MessageGroupId.
Returns a reference to this object so that method calls can be chained together.
sequenceNumber - This element applies only to FIFO (first-in-first-out) queues.
A large, non-consecutive number that Amazon SQS assigns to each message.
The length of SequenceNumber is 128 bits.
SequenceNumber continues to increase for a
particular MessageGroupId.
public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.