public class UnsubscribeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Input for Unsubscribe action.
NOOP| Constructor and Description |
|---|
UnsubscribeRequest()
Default constructor for UnsubscribeRequest object.
|
UnsubscribeRequest(String subscriptionArn)
Constructs a new UnsubscribeRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
UnsubscribeRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getSubscriptionArn()
The ARN of the subscription to be deleted.
|
int |
hashCode() |
void |
setSubscriptionArn(String subscriptionArn)
The ARN of the subscription to be deleted.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UnsubscribeRequest |
withSubscriptionArn(String subscriptionArn)
The ARN of the subscription to be deleted.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic UnsubscribeRequest()
public UnsubscribeRequest(String subscriptionArn)
subscriptionArn - The ARN of the subscription to be deleted.public void setSubscriptionArn(String subscriptionArn)
The ARN of the subscription to be deleted.
subscriptionArn - The ARN of the subscription to be deleted.public String getSubscriptionArn()
The ARN of the subscription to be deleted.
public UnsubscribeRequest withSubscriptionArn(String subscriptionArn)
The ARN of the subscription to be deleted.
subscriptionArn - The ARN of the subscription to be deleted.public String toString()
toString in class ObjectObject.toString()public UnsubscribeRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.