com.amazonaws.services.sns.model
Class GetSubscriptionAttributesRequest

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

public class GetSubscriptionAttributesRequest
extends AmazonWebServiceRequest

Container for the parameters to the GetSubscriptionAttributes operation.

The GetSubscriptionAttribtues action returns all of the properties of a subscription.

See Also:
AmazonSNS.getSubscriptionAttributes(GetSubscriptionAttributesRequest)

Constructor Summary
GetSubscriptionAttributesRequest()
          Default constructor for a new GetSubscriptionAttributesRequest object.
GetSubscriptionAttributesRequest(String subscriptionArn)
          Constructs a new GetSubscriptionAttributesRequest object.
 
Method Summary
 boolean equals(Object obj)
           
 String getSubscriptionArn()
          The ARN of the subscription whose properties you want to get.
 int hashCode()
           
 void setSubscriptionArn(String subscriptionArn)
          The ARN of the subscription whose properties you want to get.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 GetSubscriptionAttributesRequest withSubscriptionArn(String subscriptionArn)
          The ARN of the subscription whose properties you want to get.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetSubscriptionAttributesRequest

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


GetSubscriptionAttributesRequest

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

Parameters:
subscriptionArn - The ARN of the subscription whose properties you want to get.
Method Detail

getSubscriptionArn

public String getSubscriptionArn()
The ARN of the subscription whose properties you want to get.

Returns:
The ARN of the subscription whose properties you want to get.

setSubscriptionArn

public void setSubscriptionArn(String subscriptionArn)
The ARN of the subscription whose properties you want to get.

Parameters:
subscriptionArn - The ARN of the subscription whose properties you want to get.

withSubscriptionArn

public GetSubscriptionAttributesRequest withSubscriptionArn(String subscriptionArn)
The ARN of the subscription whose properties you want to get.

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

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

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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