com.amazonaws.services.sns.model
Class DeleteTopicRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.sns.model.DeleteTopicRequest
- All Implemented Interfaces:
- java.io.Serializable
public class DeleteTopicRequest
- extends AmazonWebServiceRequest
- implements java.io.Serializable
Container for the parameters to the 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.
- See Also:
AmazonSNS.deleteTopic(DeleteTopicRequest)
,
Serialized Form
Constructor Summary |
DeleteTopicRequest()
Default constructor for a new DeleteTopicRequest object. |
DeleteTopicRequest(java.lang.String topicArn)
Constructs a new DeleteTopicRequest object. |
Method Summary |
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. |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
DeleteTopicRequest
public DeleteTopicRequest()
- Default constructor for a new DeleteTopicRequest object. Callers should use the
setter or fluent setter (with...) methods to initialize this object after creating it.
DeleteTopicRequest
public DeleteTopicRequest(java.lang.String topicArn)
- Constructs a new DeleteTopicRequest object.
Callers should use the setter or fluent setter (with...) methods to
initialize any additional object members.
- Parameters:
topicArn
- The ARN of the topic you want to delete.
http://sns.us-east-1.amazonaws.com/
?TopicArn=arn%3Aaws%3Asns%3Aus-east-1%3A123456789012%3AMy-Topic
&Action=DeleteTopic &SignatureVersion=2 &SignatureMethod=HmacSHA256
&Timestamp=2010-03-31T12%3A00%3A00.000Z &AWSAccessKeyId=(AWS Access
Key ID)
&Signature=DjHBa%2BbYCKQAzctOPnLP7MbHnrHT3%2FK3kFEZjwcf9%2FU%3D
fba800b9-3765-11df-8cf3-c58c53254dfb
getTopicArn
public java.lang.String getTopicArn()
- The ARN of the topic you want to delete.
http://sns.us-east-1.amazonaws.com/
?TopicArn=arn%3Aaws%3Asns%3Aus-east-1%3A123456789012%3AMy-Topic
&Action=DeleteTopic &SignatureVersion=2 &SignatureMethod=HmacSHA256
&Timestamp=2010-03-31T12%3A00%3A00.000Z &AWSAccessKeyId=(AWS Access
Key ID)
&Signature=DjHBa%2BbYCKQAzctOPnLP7MbHnrHT3%2FK3kFEZjwcf9%2FU%3D
fba800b9-3765-11df-8cf3-c58c53254dfb
- Returns:
- The ARN of the topic you want to delete.
http://sns.us-east-1.amazonaws.com/
?TopicArn=arn%3Aaws%3Asns%3Aus-east-1%3A123456789012%3AMy-Topic
&Action=DeleteTopic &SignatureVersion=2 &SignatureMethod=HmacSHA256
&Timestamp=2010-03-31T12%3A00%3A00.000Z &AWSAccessKeyId=(AWS Access
Key ID)
&Signature=DjHBa%2BbYCKQAzctOPnLP7MbHnrHT3%2FK3kFEZjwcf9%2FU%3D
fba800b9-3765-11df-8cf3-c58c53254dfb
setTopicArn
public void setTopicArn(java.lang.String topicArn)
- The ARN of the topic you want to delete.
http://sns.us-east-1.amazonaws.com/
?TopicArn=arn%3Aaws%3Asns%3Aus-east-1%3A123456789012%3AMy-Topic
&Action=DeleteTopic &SignatureVersion=2 &SignatureMethod=HmacSHA256
&Timestamp=2010-03-31T12%3A00%3A00.000Z &AWSAccessKeyId=(AWS Access
Key ID)
&Signature=DjHBa%2BbYCKQAzctOPnLP7MbHnrHT3%2FK3kFEZjwcf9%2FU%3D
fba800b9-3765-11df-8cf3-c58c53254dfb
- Parameters:
topicArn
- The ARN of the topic you want to delete.
http://sns.us-east-1.amazonaws.com/
?TopicArn=arn%3Aaws%3Asns%3Aus-east-1%3A123456789012%3AMy-Topic
&Action=DeleteTopic &SignatureVersion=2 &SignatureMethod=HmacSHA256
&Timestamp=2010-03-31T12%3A00%3A00.000Z &AWSAccessKeyId=(AWS Access
Key ID)
&Signature=DjHBa%2BbYCKQAzctOPnLP7MbHnrHT3%2FK3kFEZjwcf9%2FU%3D
fba800b9-3765-11df-8cf3-c58c53254dfb
withTopicArn
public DeleteTopicRequest withTopicArn(java.lang.String topicArn)
- The ARN of the topic you want to delete.
http://sns.us-east-1.amazonaws.com/
?TopicArn=arn%3Aaws%3Asns%3Aus-east-1%3A123456789012%3AMy-Topic
&Action=DeleteTopic &SignatureVersion=2 &SignatureMethod=HmacSHA256
&Timestamp=2010-03-31T12%3A00%3A00.000Z &AWSAccessKeyId=(AWS Access
Key ID)
&Signature=DjHBa%2BbYCKQAzctOPnLP7MbHnrHT3%2FK3kFEZjwcf9%2FU%3D
fba800b9-3765-11df-8cf3-c58c53254dfb
Returns a reference to this object so that method calls can be chained together.
- Parameters:
topicArn
- The ARN of the topic you want to delete.
http://sns.us-east-1.amazonaws.com/
?TopicArn=arn%3Aaws%3Asns%3Aus-east-1%3A123456789012%3AMy-Topic
&Action=DeleteTopic &SignatureVersion=2 &SignatureMethod=HmacSHA256
&Timestamp=2010-03-31T12%3A00%3A00.000Z &AWSAccessKeyId=(AWS Access
Key ID)
&Signature=DjHBa%2BbYCKQAzctOPnLP7MbHnrHT3%2FK3kFEZjwcf9%2FU%3D
fba800b9-3765-11df-8cf3-c58c53254dfb
- Returns:
- A reference to this updated object so that method calls can be chained
together.
toString
public java.lang.String toString()
- Returns a string representation of this object; useful for testing and
debugging.
- Overrides:
toString
in class java.lang.Object
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.