@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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() |
| 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.
|
Topic |
withTopicArn(String topicArn)
The topic's ARN.
|
public void setTopicArn(String topicArn)
The topic's ARN.
topicArn - The topic's ARN.public String getTopicArn()
The topic's ARN.
public Topic withTopicArn(String topicArn)
The topic's ARN.
topicArn - The topic's ARN.public String toString()
toString in class ObjectObject.toString()