public class ListTopicsRequest extends AmazonWebServiceRequest implements Serializable
Returns a list of the requester's topics. Each call returns a limited list of
topics, up to 100. If there are more topics, a NextToken is also
returned. Use the NextToken parameter in a new
ListTopics call to get further results.
This action is throttled at 30 transactions per second (TPS).
| Constructor and Description |
|---|
ListTopicsRequest()
Default constructor for ListTopicsRequest object.
|
ListTopicsRequest(String nextToken)
Constructs a new ListTopicsRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getNextToken()
Token returned by the previous
ListTopics request. |
int |
hashCode() |
void |
setNextToken(String nextToken)
Token returned by the previous
ListTopics request. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListTopicsRequest |
withNextToken(String nextToken)
Token returned by the previous
ListTopics request. |
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic ListTopicsRequest()
public ListTopicsRequest(String nextToken)
nextToken -
Token returned by the previous ListTopics
request.
public String getNextToken()
Token returned by the previous ListTopics request.
Token returned by the previous ListTopics request.
public void setNextToken(String nextToken)
Token returned by the previous ListTopics request.
nextToken -
Token returned by the previous ListTopics
request.
public ListTopicsRequest withNextToken(String nextToken)
Token returned by the previous ListTopics request.
Returns a reference to this object so that method calls can be chained together.
nextToken -
Token returned by the previous ListTopics
request.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.