Package com.amazonaws.services.sns.model
Class PublishResult
- java.lang.Object
-
- com.amazonaws.services.sns.model.PublishResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class PublishResult extends Object implements Serializable, Cloneable
Response for Publish action.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PublishResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PublishResultclone()booleanequals(Object obj)StringgetMessageId()Unique identifier assigned to the published message.inthashCode()voidsetMessageId(String messageId)Unique identifier assigned to the published message.StringtoString()Returns a string representation of this object; useful for testing and debugging.PublishResultwithMessageId(String messageId)Unique identifier assigned to the published message.
-
-
-
Method Detail
-
setMessageId
public void setMessageId(String messageId)
Unique identifier assigned to the published message.
Length Constraint: Maximum 100 characters
- Parameters:
messageId- Unique identifier assigned to the published message.Length Constraint: Maximum 100 characters
-
getMessageId
public String getMessageId()
Unique identifier assigned to the published message.
Length Constraint: Maximum 100 characters
- Returns:
- Unique identifier assigned to the published message.
Length Constraint: Maximum 100 characters
-
withMessageId
public PublishResult withMessageId(String messageId)
Unique identifier assigned to the published message.
Length Constraint: Maximum 100 characters
- Parameters:
messageId- Unique identifier assigned to the published message.Length Constraint: Maximum 100 characters
- Returns:
- Returns a reference to this 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public PublishResult clone()
-
-