public class DeleteTopicRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DeleteTopic operation
.
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.
NOOP
Constructor and Description |
---|
DeleteTopicRequest()
Default constructor for a new DeleteTopicRequest object.
|
DeleteTopicRequest(String topicArn)
Constructs a new DeleteTopicRequest object.
|
Modifier and Type | Method and Description |
---|---|
DeleteTopicRequest |
clone() |
boolean |
equals(Object obj) |
String |
getTopicArn()
The ARN of the topic you want to delete.
|
int |
hashCode() |
void |
setTopicArn(String topicArn)
The ARN of the topic you want to delete.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteTopicRequest |
withTopicArn(String topicArn)
The ARN of the topic you want to delete.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public DeleteTopicRequest()
public DeleteTopicRequest(String topicArn)
topicArn
- The ARN of the topic you want to delete. public String getTopicArn()
public void setTopicArn(String topicArn)
topicArn
- The ARN of the topic you want to delete. public DeleteTopicRequest withTopicArn(String topicArn)
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 String toString()
toString
in class Object
Object.toString()
public DeleteTopicRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2015. All rights reserved.