public class ListSubscriptionsByTopicRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
ListSubscriptionsByTopic operation
.
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.
NOOP
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
ListSubscriptionsByTopicRequest |
clone() |
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.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
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.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()
ListSubscriptionsByTopic
request.ListSubscriptionsByTopic
request.public void setNextToken(String nextToken)
ListSubscriptionsByTopic
request.nextToken
- Token returned by the previous ListSubscriptionsByTopic
request.public ListSubscriptionsByTopicRequest withNextToken(String nextToken)
ListSubscriptionsByTopic
request.
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 Object
Object.toString()
public ListSubscriptionsByTopicRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2015. All rights reserved.