public class PublishResult
extends java.lang.Object
implements java.io.Serializable
Response for Publish action.
Constructor and Description |
---|
PublishResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getMessageId()
Unique identifier assigned to the published message.
|
int |
hashCode() |
void |
setMessageId(java.lang.String messageId)
Unique identifier assigned to the published message.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PublishResult |
withMessageId(java.lang.String messageId)
Unique identifier assigned to the published message.
|
public java.lang.String getMessageId()
Unique identifier assigned to the published message.
Length Constraint: Maximum 100 characters
Unique identifier assigned to the published message.
Length Constraint: Maximum 100 characters
public void setMessageId(java.lang.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 PublishResult withMessageId(java.lang.String messageId)
Unique identifier assigned to the published message.
Length Constraint: Maximum 100 characters
Returns a reference to this object so that method calls can be chained together.
messageId
- Unique identifier assigned to the published message.
Length Constraint: Maximum 100 characters
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.