public class PublishResult extends Object implements Serializable
Response for Publish action.
Constructor and Description |
---|
PublishResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getMessageId()
Unique identifier assigned to the published message.
|
int |
hashCode() |
void |
setMessageId(String messageId)
Unique identifier assigned to the published message.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PublishResult |
withMessageId(String messageId)
Unique identifier assigned to the published message.
|
public String getMessageId()
Length Constraint: Maximum 100 characters
Length Constraint: Maximum 100 characters
public void setMessageId(String messageId)
Length Constraint: Maximum 100 characters
messageId
- Unique identifier assigned to the published message. Length Constraint: Maximum 100 characters
public PublishResult withMessageId(String messageId)
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 String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.