com.amazonaws.services.sns.model
Class PublishResult

java.lang.Object
  extended by com.amazonaws.services.sns.model.PublishResult

public class PublishResult
extends Object

Publish Result


Constructor Summary
PublishResult()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PublishResult

public PublishResult()
Method Detail

getMessageId

public String getMessageId()
Unique identifier assigned to the published message.

Returns:
Unique identifier assigned to the published message.

setMessageId

public void setMessageId(String messageId)
Unique identifier assigned to the published message.

Parameters:
messageId - Unique identifier assigned to the published message.

withMessageId

public PublishResult withMessageId(String messageId)
Unique identifier assigned to the published message.

Returns a reference to this object so that method calls can be chained together.

Parameters:
messageId - Unique identifier assigned to the published message.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.