@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SendMessageBatchResultEntry extends Object implements Serializable, Cloneable, StructuredPojo
Encloses a MessageId
for a successfully-enqueued message in a SendMessageBatch.
Constructor and Description |
---|
SendMessageBatchResultEntry() |
Modifier and Type | Method and Description |
---|---|
SendMessageBatchResultEntry |
clone() |
boolean |
equals(Object obj) |
String |
getId()
An identifier for the message in this batch.
|
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 |
getMD5OfMessageSystemAttributes()
An MD5 digest of the non-URL-encoded message system attribute string.
|
String |
getMessageId()
An identifier for the message.
|
String |
getSequenceNumber()
This parameter applies only to FIFO (first-in-first-out) queues.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setId(String id)
An identifier for the message in this batch.
|
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 |
setMD5OfMessageSystemAttributes(String mD5OfMessageSystemAttributes)
An MD5 digest of the non-URL-encoded message system attribute string.
|
void |
setMessageId(String messageId)
An identifier for the message.
|
void |
setSequenceNumber(String sequenceNumber)
This parameter applies only to FIFO (first-in-first-out) queues.
|
String |
toString()
Returns a string representation of this object.
|
SendMessageBatchResultEntry |
withId(String id)
An identifier for the message in this batch.
|
SendMessageBatchResultEntry |
withMD5OfMessageAttributes(String mD5OfMessageAttributes)
An MD5 digest of the non-URL-encoded message attribute string.
|
SendMessageBatchResultEntry |
withMD5OfMessageBody(String mD5OfMessageBody)
An MD5 digest of the non-URL-encoded message body string.
|
SendMessageBatchResultEntry |
withMD5OfMessageSystemAttributes(String mD5OfMessageSystemAttributes)
An MD5 digest of the non-URL-encoded message system attribute string.
|
SendMessageBatchResultEntry |
withMessageId(String messageId)
An identifier for the message.
|
SendMessageBatchResultEntry |
withSequenceNumber(String sequenceNumber)
This parameter applies only to FIFO (first-in-first-out) queues.
|
public void setId(String id)
An identifier for the message in this batch.
id
- An identifier for the message in this batch.public String getId()
An identifier for the message in this batch.
public SendMessageBatchResultEntry withId(String id)
An identifier for the message in this batch.
id
- An identifier for the message in this batch.public void setMessageId(String messageId)
An identifier for the message.
messageId
- An identifier for the message.public String getMessageId()
An identifier for the message.
public SendMessageBatchResultEntry withMessageId(String messageId)
An identifier for the message.
messageId
- An identifier for the message.public void setMD5OfMessageBody(String mD5OfMessageBody)
An MD5 digest of the non-URL-encoded message body string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS 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. You can use this attribute to verify that Amazon
SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For
information about MD5, see RFC1321.public String getMD5OfMessageBody()
An MD5 digest of the non-URL-encoded message body string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see RFC1321.
public SendMessageBatchResultEntry withMD5OfMessageBody(String mD5OfMessageBody)
An MD5 digest of the non-URL-encoded message body string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS 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. You can use this attribute to verify that Amazon
SQS received the message correctly. Amazon SQS 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. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS 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. You can use this attribute to verify that
Amazon SQS received the message correctly. Amazon SQS 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. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see RFC1321.
public SendMessageBatchResultEntry withMD5OfMessageAttributes(String mD5OfMessageAttributes)
An MD5 digest of the non-URL-encoded message attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS 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. You can use this attribute to verify that
Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5
digest. For information about MD5, see RFC1321.public void setMD5OfMessageSystemAttributes(String mD5OfMessageSystemAttributes)
An MD5 digest of the non-URL-encoded message system attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see RFC1321.
mD5OfMessageSystemAttributes
- An MD5 digest of the non-URL-encoded message system attribute string. You can use this attribute to verify
that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5
digest. For information about MD5, see RFC1321.public String getMD5OfMessageSystemAttributes()
An MD5 digest of the non-URL-encoded message system attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see RFC1321.
public SendMessageBatchResultEntry withMD5OfMessageSystemAttributes(String mD5OfMessageSystemAttributes)
An MD5 digest of the non-URL-encoded message system attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see RFC1321.
mD5OfMessageSystemAttributes
- An MD5 digest of the non-URL-encoded message system attribute string. You can use this attribute to verify
that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5
digest. For information about MD5, see RFC1321.public void setSequenceNumber(String sequenceNumber)
This parameter applies only to FIFO (first-in-first-out) queues.
The 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 parameter applies only to FIFO (first-in-first-out) queues.
The 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 String getSequenceNumber()
This parameter applies only to FIFO (first-in-first-out) queues.
The 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
.
The 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(String sequenceNumber)
This parameter applies only to FIFO (first-in-first-out) queues.
The 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 parameter applies only to FIFO (first-in-first-out) queues.
The 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 String toString()
toString
in class Object
Object.toString()
public SendMessageBatchResultEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.