public class Topic
extends java.lang.Object
implements java.io.Serializable
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 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getTopicArn()
The topic's ARN.
|
int |
hashCode() |
void |
setTopicArn(java.lang.String topicArn)
The topic's ARN.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Topic |
withTopicArn(java.lang.String topicArn)
The topic's ARN.
|
public Topic()
public java.lang.String getTopicArn()
public void setTopicArn(java.lang.String topicArn)
topicArn - The topic's ARN.public Topic withTopicArn(java.lang.String topicArn)
Returns a reference to this object so that method calls can be chained together.
topicArn - The topic's ARN.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object