@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() |
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.
|
UnsubscribeRequest |
withSubscriptionArn(String subscriptionArn)
The ARN of the subscription to be deleted.
|
addHandlerContext, copyBaseTo, 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()
clone
in class AmazonWebServiceRequest
Copyright © 2023. All rights reserved.