|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.sns.model.DeleteTopicRequest
public class DeleteTopicRequest
Container for the parameters to the DeleteTopic operation
.
The DeleteTopic action 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 will not result in an error.
AmazonSNS.deleteTopic(DeleteTopicRequest)
Constructor Summary | |
---|---|
DeleteTopicRequest()
Default constructor for a new DeleteTopicRequest object. |
|
DeleteTopicRequest(String topicArn)
Constructs a new DeleteTopicRequest object. |
Method Summary | |
---|---|
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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DeleteTopicRequest()
public DeleteTopicRequest(String topicArn)
topicArn
- The ARN of the topic you want to delete. Method Detail |
---|
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 int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |