public class ListSubscriptionsRequest extends AmazonWebServiceRequest implements java.io.Serializable
Returns a list of the requester's subscriptions. 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 ListSubscriptions call to get further
results.
This action is throttled at 30 transactions per second (TPS).
| Constructor and Description |
|---|
ListSubscriptionsRequest()
Default constructor for ListSubscriptionsRequest object.
|
ListSubscriptionsRequest(java.lang.String nextToken)
Constructs a new ListSubscriptionsRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
Token returned by the previous
ListSubscriptions request. |
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
Token returned by the previous
ListSubscriptions request. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListSubscriptionsRequest |
withNextToken(java.lang.String nextToken)
Token returned by the previous
ListSubscriptions request. |
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic ListSubscriptionsRequest()
public ListSubscriptionsRequest(java.lang.String nextToken)
nextToken -
Token returned by the previous ListSubscriptions
request.
public java.lang.String getNextToken()
Token returned by the previous ListSubscriptions request.
Token returned by the previous ListSubscriptions
request.
public void setNextToken(java.lang.String nextToken)
Token returned by the previous ListSubscriptions request.
nextToken -
Token returned by the previous ListSubscriptions
request.
public ListSubscriptionsRequest withNextToken(java.lang.String nextToken)
Token returned by the previous ListSubscriptions request.
Returns a reference to this object so that method calls can be chained together.
nextToken -
Token returned by the previous ListSubscriptions
request.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.