public class Topic extends Object implements Serializable, Cloneable
A wrapper type for the topic's Amazon Resource Name (ARN). To retrieve
a topic's attributes, use GetTopicAttributes .
| Constructor and Description |
|---|
Topic()
Default constructor for a new Topic object.
|
| Modifier and Type | Method and Description |
|---|---|
Topic |
clone() |
boolean |
equals(Object obj) |
String |
getTopicArn()
The topic's ARN.
|
int |
hashCode() |
void |
setTopicArn(String topicArn)
The topic's ARN.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Topic |
withTopicArn(String topicArn)
The topic's ARN.
|
public Topic()
public String getTopicArn()
public void setTopicArn(String topicArn)
topicArn - The topic's ARN.public Topic withTopicArn(String topicArn)
Returns a reference to this object so that method calls can be chained together.
topicArn - The topic's ARN.public String toString()
toString in class ObjectObject.toString()Copyright © 2015. All rights reserved.