public class CreateTopicResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Response from CreateTopic action.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
topicArn
The Amazon Resource Name (ARN) assigned to the created topic.
|
Constructor and Description |
---|
CreateTopicResult() |
Modifier and Type | Method and Description |
---|---|
CreateTopicResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getTopicArn()
The Amazon Resource Name (ARN) assigned to the created topic.
|
int |
hashCode() |
void |
setTopicArn(java.lang.String topicArn)
The Amazon Resource Name (ARN) assigned to the created topic.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateTopicResult |
withTopicArn(java.lang.String topicArn)
The Amazon Resource Name (ARN) assigned to the created topic.
|
private java.lang.String topicArn
The Amazon Resource Name (ARN) assigned to the created topic.
public void setTopicArn(java.lang.String topicArn)
The Amazon Resource Name (ARN) assigned to the created topic.
topicArn
- The Amazon Resource Name (ARN) assigned to the created topic.public java.lang.String getTopicArn()
The Amazon Resource Name (ARN) assigned to the created topic.
public CreateTopicResult withTopicArn(java.lang.String topicArn)
The Amazon Resource Name (ARN) assigned to the created topic.
topicArn
- The Amazon Resource Name (ARN) assigned to the created topic.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateTopicResult clone()
clone
in class java.lang.Object