@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 object for all fields except the handler context.
|
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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public 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 Object
Object.toString()
public UnsubscribeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.