|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.sns.model.Topic
public class Topic
A wrapper type for the topic's Amazon Resource Name (ARN). To retrieve a topic's attributes, use GetTopicAttributes.
Constructor Summary | |
---|---|
Topic()
Default constructor for a new Topic object. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Topic()
Method Detail |
---|
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 Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |