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 CreateTopicResult
clone()
boolean
equals(Object obj)
String
getTopicArn()
The Amazon Resource Name (ARN) assigned to the created topic.int
hashCode()
void
setTopicArn(String topicArn)
The Amazon Resource Name (ARN) assigned to the created topic.String
toString()
Returns a string representation of this object; useful for testing and debugging.CreateTopicResult
withTopicArn(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateTopicResult clone()
-
-