com.amazonaws.services.sns.model
Class ListSubscriptionsByTopicResult

java.lang.Object
  extended by com.amazonaws.services.sns.model.ListSubscriptionsByTopicResult

public class ListSubscriptionsByTopicResult
extends Object

List Subscriptions By Topic Result


Constructor Summary
ListSubscriptionsByTopicResult()
           
 
Method Summary
 String getNextToken()
          Token to pass along to the next ListSubscriptionsByTopic request.
 List<Subscription> getSubscriptions()
          A list of subscriptions.
 void setNextToken(String nextToken)
          Token to pass along to the next ListSubscriptionsByTopic request.
 void setSubscriptions(Collection<Subscription> subscriptions)
          A list of subscriptions.
 String toString()
           
 ListSubscriptionsByTopicResult withNextToken(String nextToken)
          Token to pass along to the next ListSubscriptionsByTopic request.
 ListSubscriptionsByTopicResult withSubscriptions(Collection<Subscription> subscriptions)
          A list of subscriptions.
 ListSubscriptionsByTopicResult withSubscriptions(Subscription... subscriptions)
          A list of subscriptions.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ListSubscriptionsByTopicResult

public ListSubscriptionsByTopicResult()
Method Detail

getSubscriptions

public List<Subscription> getSubscriptions()
A list of subscriptions.

Returns:
A list of subscriptions.

setSubscriptions

public void setSubscriptions(Collection<Subscription> subscriptions)
A list of subscriptions.

Parameters:
subscriptions - A list of subscriptions.

withSubscriptions

public ListSubscriptionsByTopicResult withSubscriptions(Subscription... subscriptions)
A list of subscriptions.

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

Parameters:
subscriptions - A list of subscriptions.
Returns:
A reference to this updated object so that method calls can be chained together.

withSubscriptions

public ListSubscriptionsByTopicResult withSubscriptions(Collection<Subscription> subscriptions)
A list of subscriptions.

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

Parameters:
subscriptions - A list of subscriptions.
Returns:
A reference to this updated object so that method calls can be chained together.

getNextToken

public String getNextToken()
Token to pass along to the next ListSubscriptionsByTopic request. This element is returned if there are more subscriptions to retrieve.

Returns:
Token to pass along to the next ListSubscriptionsByTopic request. This element is returned if there are more subscriptions to retrieve.

setNextToken

public void setNextToken(String nextToken)
Token to pass along to the next ListSubscriptionsByTopic request. This element is returned if there are more subscriptions to retrieve.

Parameters:
nextToken - Token to pass along to the next ListSubscriptionsByTopic request. This element is returned if there are more subscriptions to retrieve.

withNextToken

public ListSubscriptionsByTopicResult withNextToken(String nextToken)
Token to pass along to the next ListSubscriptionsByTopic request. This element is returned if there are more subscriptions to retrieve.

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

Parameters:
nextToken - Token to pass along to the next ListSubscriptionsByTopic request. This element is returned if there are more subscriptions to retrieve.
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.