public class ListTopicsRequest extends AmazonWebServiceRequest implements java.io.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(java.lang.String nextToken)
Constructs a new ListTopicsRequest object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
Token returned by the previous
ListTopics request. |
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
Token returned by the previous
ListTopics request. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListTopicsRequest |
withNextToken(java.lang.String nextToken)
Token returned by the previous
ListTopics request. |
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public ListTopicsRequest()
public ListTopicsRequest(java.lang.String nextToken)
nextToken
-
Token returned by the previous ListTopics
request.
public java.lang.String getNextToken()
Token returned by the previous ListTopics
request.
Token returned by the previous ListTopics
request.
public void setNextToken(java.lang.String nextToken)
Token returned by the previous ListTopics
request.
nextToken
-
Token returned by the previous ListTopics
request.
public ListTopicsRequest withNextToken(java.lang.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 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.