@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTopicResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Response from CreateTopic action.
Constructor and Description |
---|
CreateTopicResult() |
Modifier and Type | Method and Description |
---|---|
CreateTopicResult |
clone() |
boolean |
equals(Object obj) |
String |
getTopicArn()
The Amazon Resource Name (ARN) assigned to the created topic.
|
int |
hashCode() |
void |
setTopicArn(String topicArn)
The Amazon Resource Name (ARN) assigned to the created topic.
|
String |
toString()
Returns a string representation of this object.
|
CreateTopicResult |
withTopicArn(String topicArn)
The Amazon Resource Name (ARN) assigned to the created topic.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setTopicArn(String topicArn)
The Amazon Resource Name (ARN) assigned to the created topic.
topicArn
- The Amazon Resource Name (ARN) assigned to the created topic.public String getTopicArn()
The Amazon Resource Name (ARN) assigned to the created topic.
public CreateTopicResult withTopicArn(String topicArn)
The Amazon Resource Name (ARN) assigned to the created topic.
topicArn
- The Amazon Resource Name (ARN) assigned to the created topic.public String toString()
toString
in class Object
Object.toString()
public CreateTopicResult clone()
Copyright © 2022. All rights reserved.