public class UnsubscribeRequest extends AmazonWebServiceRequest implements java.io.Serializable
Unsubscribe operation.
The Unsubscribe action deletes a subscription. If the subscription requires authentication for deletion, only the owner of the
subscription or the its topic's owner can unsubscribe, and an AWS signature is required. If the Unsubscribe call does not require
authentication and the requester is not the subscription owner, a final cancellation message is delivered to the endpoint, so that the endpoint owner
can easily resubscribe to the topic if the Unsubscribe request was unintended.
| コンストラクタと説明 |
|---|
UnsubscribeRequest()
Default constructor for a new UnsubscribeRequest object.
|
UnsubscribeRequest(java.lang.String subscriptionArn)
Constructs a new UnsubscribeRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getSubscriptionArn()
The ARN of the subscription to be deleted.
|
int |
hashCode() |
void |
setSubscriptionArn(java.lang.String subscriptionArn)
The ARN of the subscription to be deleted.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UnsubscribeRequest |
withSubscriptionArn(java.lang.String subscriptionArn)
The ARN of the subscription to be deleted.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic UnsubscribeRequest()
public UnsubscribeRequest(java.lang.String subscriptionArn)
subscriptionArn - The ARN of the subscription to be deleted.public java.lang.String getSubscriptionArn()
public void setSubscriptionArn(java.lang.String subscriptionArn)
subscriptionArn - The ARN of the subscription to be deleted.public UnsubscribeRequest withSubscriptionArn(java.lang.String subscriptionArn)
Returns a reference to this object so that method calls can be chained together.
subscriptionArn - The ARN of the subscription to be deleted.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object