|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.sns.model.ListSubscriptionsByTopicRequest
public class ListSubscriptionsByTopicRequest
Container for the parameters to the ListSubscriptionsByTopic operation.
The ListSubscriptionsByTopic action returns a list of the subscriptions to a specific topic. Each call returns a limited list of subscriptions, up to 100. If there are more subscriptions, a NextToken is also returned. Use the NextToken parameter in a new ListSubscriptionsByTopic call to get further results.
AmazonSNS.listSubscriptionsByTopic(ListSubscriptionsByTopicRequest)| Constructor Summary | |
|---|---|
ListSubscriptionsByTopicRequest()
Default constructor for a new ListSubscriptionsByTopicRequest object. |
|
ListSubscriptionsByTopicRequest(String topicArn)
Constructs a new ListSubscriptionsByTopicRequest object. |
|
ListSubscriptionsByTopicRequest(String topicArn,
String nextToken)
Constructs a new ListSubscriptionsByTopicRequest object. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getNextToken()
Token returned by the previous ListSubscriptionsByTopic request. |
String |
getTopicArn()
The ARN of the topic for which you wish to find subscriptions. |
int |
hashCode()
|
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()
Returns a string representation of this object; useful for testing and debugging. |
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, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ListSubscriptionsByTopicRequest()
public ListSubscriptionsByTopicRequest(String topicArn)
topicArn - The ARN of the topic for which you wish to find
subscriptions.
public ListSubscriptionsByTopicRequest(String topicArn,
String nextToken)
topicArn - The ARN of the topic for which you wish to find
subscriptions.nextToken - Token returned by the previous
ListSubscriptionsByTopic request.| Method Detail |
|---|
public String getTopicArn()
public void setTopicArn(String topicArn)
topicArn - The ARN of the topic for which you wish to find subscriptions.public ListSubscriptionsByTopicRequest withTopicArn(String topicArn)
Returns a reference to this object so that method calls can be chained together.
topicArn - The ARN of the topic for which you wish to find subscriptions.
public String getNextToken()
public void setNextToken(String nextToken)
nextToken - Token returned by the previous ListSubscriptionsByTopic request.public ListSubscriptionsByTopicRequest withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
nextToken - Token returned by the previous ListSubscriptionsByTopic request.
public String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||