Package com.amazonaws.services.sns.model
Class CreateTopicResult
- java.lang.Object
-
- com.amazonaws.services.sns.model.CreateTopicResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class CreateTopicResult extends Object implements Serializable, Cloneable
Response from CreateTopic action.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreateTopicResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateTopicResultclone()booleanequals(Object obj)StringgetTopicArn()The Amazon Resource Name (ARN) assigned to the created topic.inthashCode()voidsetTopicArn(String topicArn)The Amazon Resource Name (ARN) assigned to the created topic.StringtoString()Returns a string representation of this object; useful for testing and debugging.CreateTopicResultwithTopicArn(String topicArn)The Amazon Resource Name (ARN) assigned to the created topic.
-
-
-
Method Detail
-
setTopicArn
public void setTopicArn(String topicArn)
The Amazon Resource Name (ARN) assigned to the created topic.
- Parameters:
topicArn- The Amazon Resource Name (ARN) assigned to the created topic.
-
getTopicArn
public String getTopicArn()
The Amazon Resource Name (ARN) assigned to the created topic.
- Returns:
- The Amazon Resource Name (ARN) assigned to the created topic.
-
withTopicArn
public CreateTopicResult withTopicArn(String topicArn)
The Amazon Resource Name (ARN) assigned to the created topic.
- Parameters:
topicArn- The Amazon Resource Name (ARN) assigned to the created topic.- 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 CreateTopicResult clone()
-
-