public class SendMessageBatchResultEntry
extends java.lang.Object
implements java.io.Serializable
Encloses a message ID for successfully enqueued message of a SendMessageBatch.
| Constructor and Description |
|---|
SendMessageBatchResultEntry() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getId()
An identifier for the message in this batch.
|
java.lang.String |
getMD5OfMessageAttributes()
An MD5 digest of the non-URL-encoded message attribute string.
|
java.lang.String |
getMD5OfMessageBody()
An MD5 digest of the non-URL-encoded message body string.
|
java.lang.String |
getMessageId()
An identifier for the message.
|
java.lang.String |
getSequenceNumber()
This element applies only to FIFO (first-in-first-out) queues.
|
int |
hashCode() |
void |
setId(java.lang.String id)
An identifier for the message in this batch.
|
void |
setMD5OfMessageAttributes(java.lang.String mD5OfMessageAttributes)
An MD5 digest of the non-URL-encoded message attribute string.
|
void |
setMD5OfMessageBody(java.lang.String mD5OfMessageBody)
An MD5 digest of the non-URL-encoded message body string.
|
void |
setMessageId(java.lang.String messageId)
An identifier for the message.
|
void |
setSequenceNumber(java.lang.String sequenceNumber)
This element applies only to FIFO (first-in-first-out) queues.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SendMessageBatchResultEntry |
withId(java.lang.String id)
An identifier for the message in this batch.
|
SendMessageBatchResultEntry |
withMD5OfMessageAttributes(java.lang.String mD5OfMessageAttributes)
An MD5 digest of the non-URL-encoded message attribute string.
|
SendMessageBatchResultEntry |
withMD5OfMessageBody(java.lang.String mD5OfMessageBody)
An MD5 digest of the non-URL-encoded message body string.
|
SendMessageBatchResultEntry |
withMessageId(java.lang.String messageId)
An identifier for the message.
|
SendMessageBatchResultEntry |
withSequenceNumber(java.lang.String sequenceNumber)
This element applies only to FIFO (first-in-first-out) queues.
|
public java.lang.String getId()
An identifier for the message in this batch.
An identifier for the message in this batch.
public void setId(java.lang.String id)
An identifier for the message in this batch.
id - An identifier for the message in this batch.
public SendMessageBatchResultEntry withId(java.lang.String id)
An identifier for the message in this batch.
Returns a reference to this object so that method calls can be chained together.
id - An identifier for the message in this batch.
public java.lang.String getMessageId()
An identifier for the message.
An identifier for the message.
public void setMessageId(java.lang.String messageId)
An identifier for the message.
messageId - An identifier for the message.
public SendMessageBatchResultEntry withMessageId(java.lang.String messageId)
An identifier for the message.
Returns a reference to this object so that method calls can be chained together.
messageId - An identifier for the message.
public java.lang.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(java.lang.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 SendMessageBatchResultEntry withMD5OfMessageBody(java.lang.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 java.lang.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 batch 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 batch correctly. Amazon SQS first URL decodes the message before creating the MD5 digest. For information about MD5, see RFC1321.
public void setMD5OfMessageAttributes(java.lang.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 batch 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 batch correctly. Amazon SQS first URL decodes the message before creating the MD5 digest. For information about MD5, see RFC1321.
public SendMessageBatchResultEntry withMD5OfMessageAttributes(java.lang.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 batch 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 batch correctly. Amazon SQS first URL decodes the message before creating the MD5 digest. For information about MD5, see RFC1321.
public java.lang.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. As
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. As
SequenceNumber continues to increase for a
particular MessageGroupId.
public void setSequenceNumber(java.lang.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. As
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. As
SequenceNumber continues to increase for a
particular MessageGroupId.
public SendMessageBatchResultEntry withSequenceNumber(java.lang.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. As
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. As
SequenceNumber continues to increase for a
particular MessageGroupId.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.