@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PublishResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Response for Publish action.
Constructor and Description |
---|
PublishResult() |
Modifier and Type | Method and Description |
---|---|
PublishResult |
clone() |
boolean |
equals(Object obj) |
String |
getMessageId()
Unique identifier assigned to the published message.
|
String |
getSequenceNumber()
This response element applies only to FIFO (first-in-first-out) topics.
|
int |
hashCode() |
void |
setMessageId(String messageId)
Unique identifier assigned to the published message.
|
void |
setSequenceNumber(String sequenceNumber)
This response element applies only to FIFO (first-in-first-out) topics.
|
String |
toString()
Returns a string representation of this object.
|
PublishResult |
withMessageId(String messageId)
Unique identifier assigned to the published message.
|
PublishResult |
withSequenceNumber(String sequenceNumber)
This response element applies only to FIFO (first-in-first-out) topics.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setMessageId(String messageId)
Unique identifier assigned to the published message.
Length Constraint: Maximum 100 characters
messageId
- Unique identifier assigned to the published message.
Length Constraint: Maximum 100 characters
public String getMessageId()
Unique identifier assigned to the published message.
Length Constraint: Maximum 100 characters
Length Constraint: Maximum 100 characters
public PublishResult withMessageId(String messageId)
Unique identifier assigned to the published message.
Length Constraint: Maximum 100 characters
messageId
- Unique identifier assigned to the published message.
Length Constraint: Maximum 100 characters
public void setSequenceNumber(String sequenceNumber)
This response element applies only to FIFO (first-in-first-out) topics.
The sequence number is a large, non-consecutive number that Amazon SNS assigns to each message. The length of
SequenceNumber
is 128 bits. SequenceNumber
continues to increase for each
MessageGroupId
.
sequenceNumber
- This response element applies only to FIFO (first-in-first-out) topics.
The sequence number is a large, non-consecutive number that Amazon SNS assigns to each message. The length
of SequenceNumber
is 128 bits. SequenceNumber
continues to increase for each
MessageGroupId
.
public String getSequenceNumber()
This response element applies only to FIFO (first-in-first-out) topics.
The sequence number is a large, non-consecutive number that Amazon SNS assigns to each message. The length of
SequenceNumber
is 128 bits. SequenceNumber
continues to increase for each
MessageGroupId
.
The sequence number is a large, non-consecutive number that Amazon SNS assigns to each message. The
length of SequenceNumber
is 128 bits. SequenceNumber
continues to increase for
each MessageGroupId
.
public PublishResult withSequenceNumber(String sequenceNumber)
This response element applies only to FIFO (first-in-first-out) topics.
The sequence number is a large, non-consecutive number that Amazon SNS assigns to each message. The length of
SequenceNumber
is 128 bits. SequenceNumber
continues to increase for each
MessageGroupId
.
sequenceNumber
- This response element applies only to FIFO (first-in-first-out) topics.
The sequence number is a large, non-consecutive number that Amazon SNS assigns to each message. The length
of SequenceNumber
is 128 bits. SequenceNumber
continues to increase for each
MessageGroupId
.
public String toString()
toString
in class Object
Object.toString()
public PublishResult clone()