@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PublishBatchResultEntry extends Object implements Serializable, Cloneable
Encloses data related to a successful message in a batch request for topic.
Constructor and Description |
---|
PublishBatchResultEntry() |
Modifier and Type | Method and Description |
---|---|
PublishBatchResultEntry |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The
Id of an entry in a batch request. |
String |
getMessageId()
An identifier for the message.
|
String |
getSequenceNumber()
This parameter applies only to FIFO (first-in-first-out) topics.
|
int |
hashCode() |
void |
setId(String id)
The
Id of an entry in a batch request. |
void |
setMessageId(String messageId)
An identifier for the message.
|
void |
setSequenceNumber(String sequenceNumber)
This parameter applies only to FIFO (first-in-first-out) topics.
|
String |
toString()
Returns a string representation of this object.
|
PublishBatchResultEntry |
withId(String id)
The
Id of an entry in a batch request. |
PublishBatchResultEntry |
withMessageId(String messageId)
An identifier for the message.
|
PublishBatchResultEntry |
withSequenceNumber(String sequenceNumber)
This parameter applies only to FIFO (first-in-first-out) topics.
|
public void setId(String id)
The Id
of an entry in a batch request.
id
- The Id
of an entry in a batch request.public String getId()
The Id
of an entry in a batch request.
Id
of an entry in a batch request.public PublishBatchResultEntry withId(String id)
The Id
of an entry in a batch request.
id
- The Id
of an entry in a batch request.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 PublishBatchResultEntry withMessageId(String messageId)
An identifier for the message.
messageId
- An identifier for the message.public void setSequenceNumber(String sequenceNumber)
This parameter applies only to FIFO (first-in-first-out) topics.
The large, non-consecutive number that Amazon SNS assigns to each message.
The length of SequenceNumber
is 128 bits. SequenceNumber
continues to increase for a
particular MessageGroupId
.
sequenceNumber
- This parameter applies only to FIFO (first-in-first-out) topics.
The large, non-consecutive number that Amazon SNS assigns to each message.
The length of SequenceNumber
is 128 bits. SequenceNumber
continues to increase
for a particular MessageGroupId
.
public String getSequenceNumber()
This parameter applies only to FIFO (first-in-first-out) topics.
The large, non-consecutive number that Amazon SNS assigns to each message.
The length of SequenceNumber
is 128 bits. SequenceNumber
continues to increase for a
particular MessageGroupId
.
The large, non-consecutive number that Amazon SNS assigns to each message.
The length of SequenceNumber
is 128 bits. SequenceNumber
continues to increase
for a particular MessageGroupId
.
public PublishBatchResultEntry withSequenceNumber(String sequenceNumber)
This parameter applies only to FIFO (first-in-first-out) topics.
The large, non-consecutive number that Amazon SNS assigns to each message.
The length of SequenceNumber
is 128 bits. SequenceNumber
continues to increase for a
particular MessageGroupId
.
sequenceNumber
- This parameter applies only to FIFO (first-in-first-out) topics.
The large, non-consecutive number that Amazon SNS 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 Object
Object.toString()
public PublishBatchResultEntry clone()
Copyright © 2024. All rights reserved.