com.amazonaws.services.sns.model
Class UnsubscribeRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.sns.model.UnsubscribeRequest

public class UnsubscribeRequest
extends AmazonWebServiceRequest

Unsubscribe Request


Constructor Summary
UnsubscribeRequest()
          Default constructor for a new UnsubscribeRequest object.
UnsubscribeRequest(String subscriptionArn)
          Constructs a new UnsubscribeRequest object and initializes the specified object members.
 
Method Summary
 String getSubscriptionArn()
          The ARN of the subscription to be deleted.
 void setSubscriptionArn(String subscriptionArn)
          The ARN of the subscription to be deleted.
 String toString()
           
 UnsubscribeRequest withSubscriptionArn(String subscriptionArn)
          The ARN of the subscription to be deleted.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnsubscribeRequest

public UnsubscribeRequest()
Default constructor for a new UnsubscribeRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


UnsubscribeRequest

public UnsubscribeRequest(String subscriptionArn)
Constructs a new UnsubscribeRequest object and initializes the specified object members. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
subscriptionArn - The ARN of the subscription to be deleted.
Method Detail

getSubscriptionArn

public String getSubscriptionArn()
The ARN of the subscription to be deleted.

Returns:
The ARN of the subscription to be deleted.

setSubscriptionArn

public void setSubscriptionArn(String subscriptionArn)
The ARN of the subscription to be deleted.

Parameters:
subscriptionArn - The ARN of the subscription to be deleted.

withSubscriptionArn

public UnsubscribeRequest withSubscriptionArn(String subscriptionArn)
The ARN of the subscription to be deleted.

Returns a reference to this object so that method calls can be chained together.

Parameters:
subscriptionArn - The ARN of the subscription to be deleted.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.