com.amazonaws.services.sns.model
Class ListSubscriptionsByTopicRequest

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

public class ListSubscriptionsByTopicRequest
extends AmazonWebServiceRequest

List Subscriptions By Topic Request


Constructor Summary
ListSubscriptionsByTopicRequest()
          Default constructor for a new ListSubscriptionsByTopicRequest object.
ListSubscriptionsByTopicRequest(String topicArn)
          Constructs a new ListSubscriptionsByTopicRequest object and initializes the specified object members.
 
Method Summary
 String getNextToken()
          Token returned by the previous ListSubscriptionsByTopic request.
 String getTopicArn()
          The ARN of the topic for which you wish to find subscriptions.
 void setNextToken(String nextToken)
          Token returned by the previous ListSubscriptionsByTopic request.
 void setTopicArn(String topicArn)
          The ARN of the topic for which you wish to find subscriptions.
 String toString()
           
 ListSubscriptionsByTopicRequest withNextToken(String nextToken)
          Token returned by the previous ListSubscriptionsByTopic request.
 ListSubscriptionsByTopicRequest withTopicArn(String topicArn)
          The ARN of the topic for which you wish to find subscriptions.
 
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

ListSubscriptionsByTopicRequest

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


ListSubscriptionsByTopicRequest

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

Parameters:
topicArn - The ARN of the topic for which you wish to find subscriptions.
Method Detail

getTopicArn

public String getTopicArn()
The ARN of the topic for which you wish to find subscriptions.

Returns:
The ARN of the topic for which you wish to find subscriptions.

setTopicArn

public void setTopicArn(String topicArn)
The ARN of the topic for which you wish to find subscriptions.

Parameters:
topicArn - The ARN of the topic for which you wish to find subscriptions.

withTopicArn

public ListSubscriptionsByTopicRequest withTopicArn(String topicArn)
The ARN of the topic for which you wish to find subscriptions.

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

Parameters:
topicArn - The ARN of the topic for which you wish to find subscriptions.
Returns:
A reference to this updated object so that method calls can be chained together.

getNextToken

public String getNextToken()
Token returned by the previous ListSubscriptionsByTopic request.

Returns:
Token returned by the previous ListSubscriptionsByTopic request.

setNextToken

public void setNextToken(String nextToken)
Token returned by the previous ListSubscriptionsByTopic request.

Parameters:
nextToken - Token returned by the previous ListSubscriptionsByTopic request.

withNextToken

public ListSubscriptionsByTopicRequest withNextToken(String nextToken)
Token returned by the previous ListSubscriptionsByTopic request.

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

Parameters:
nextToken - Token returned by the previous ListSubscriptionsByTopic request.
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.