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() |
| 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 java.lang.String getTopicArn()
The topic's ARN.
The topic's ARN.
public void setTopicArn(java.lang.String topicArn)
The topic's ARN.
topicArn - The topic's ARN.
public Topic withTopicArn(java.lang.String topicArn)
The topic's ARN.
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.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.