public class DeleteTopicRequest extends AmazonWebServiceRequest implements java.io.Serializable
Deletes a topic and all its subscriptions. Deleting a topic might prevent some messages previously sent to the topic from being delivered to subscribers. This action is idempotent, so deleting a topic that does not exist does not result in an error.
Constructor and Description |
---|
DeleteTopicRequest()
Default constructor for DeleteTopicRequest object.
|
DeleteTopicRequest(java.lang.String topicArn)
Constructs a new DeleteTopicRequest object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getTopicArn()
The ARN of the topic you want to delete.
|
int |
hashCode() |
void |
setTopicArn(java.lang.String topicArn)
The ARN of the topic you want to delete.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteTopicRequest |
withTopicArn(java.lang.String topicArn)
The ARN of the topic you want to delete.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public DeleteTopicRequest()
public DeleteTopicRequest(java.lang.String topicArn)
topicArn
- The ARN of the topic you want to delete.
public java.lang.String getTopicArn()
The ARN of the topic you want to delete.
The ARN of the topic you want to delete.
public void setTopicArn(java.lang.String topicArn)
The ARN of the topic you want to delete.
topicArn
- The ARN of the topic you want to delete.
public DeleteTopicRequest withTopicArn(java.lang.String topicArn)
The ARN of the topic you want to delete.
Returns a reference to this object so that method calls can be chained together.
topicArn
- The ARN of the topic you want to delete.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.