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, withRequestMetricCollector
public 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.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.