@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListWorldsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListWorldsRequest() |
Modifier and Type | Method and Description |
---|---|
ListWorldsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<Filter> |
getFilters()
Optional filters to limit results.
|
Integer |
getMaxResults()
When this parameter is used,
ListWorlds only returns maxResults results in a single
page along with a nextToken response element. |
String |
getNextToken()
If the previous paginated request did not return all of the remaining results, the response object's
nextToken parameter value is set to a token. |
int |
hashCode() |
void |
setFilters(Collection<Filter> filters)
Optional filters to limit results.
|
void |
setMaxResults(Integer maxResults)
When this parameter is used,
ListWorlds only returns maxResults results in a single
page along with a nextToken response element. |
void |
setNextToken(String nextToken)
If the previous paginated request did not return all of the remaining results, the response object's
nextToken parameter value is set to a token. |
String |
toString()
Returns a string representation of this object.
|
ListWorldsRequest |
withFilters(Collection<Filter> filters)
Optional filters to limit results.
|
ListWorldsRequest |
withFilters(Filter... filters)
Optional filters to limit results.
|
ListWorldsRequest |
withMaxResults(Integer maxResults)
When this parameter is used,
ListWorlds only returns maxResults results in a single
page along with a nextToken response element. |
ListWorldsRequest |
withNextToken(String nextToken)
If the previous paginated request did not return all of the remaining results, the response object's
nextToken parameter value is set to a token. |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setNextToken(String nextToken)
If the previous paginated request did not return all of the remaining results, the response object's
nextToken
parameter value is set to a token. To retrieve the next set of results, call
ListWorlds
again and assign that token to the request object's nextToken
parameter. If
there are no remaining results, the previous response object's NextToken parameter is set to null.
nextToken
- If the previous paginated request did not return all of the remaining results, the response object's
nextToken
parameter value is set to a token. To retrieve the next set of results, call
ListWorlds
again and assign that token to the request object's nextToken
parameter. If there are no remaining results, the previous response object's NextToken parameter is set to
null.public String getNextToken()
If the previous paginated request did not return all of the remaining results, the response object's
nextToken
parameter value is set to a token. To retrieve the next set of results, call
ListWorlds
again and assign that token to the request object's nextToken
parameter. If
there are no remaining results, the previous response object's NextToken parameter is set to null.
nextToken
parameter value is set to a token. To retrieve the next set of results, call
ListWorlds
again and assign that token to the request object's nextToken
parameter. If there are no remaining results, the previous response object's NextToken parameter is set
to null.public ListWorldsRequest withNextToken(String nextToken)
If the previous paginated request did not return all of the remaining results, the response object's
nextToken
parameter value is set to a token. To retrieve the next set of results, call
ListWorlds
again and assign that token to the request object's nextToken
parameter. If
there are no remaining results, the previous response object's NextToken parameter is set to null.
nextToken
- If the previous paginated request did not return all of the remaining results, the response object's
nextToken
parameter value is set to a token. To retrieve the next set of results, call
ListWorlds
again and assign that token to the request object's nextToken
parameter. If there are no remaining results, the previous response object's NextToken parameter is set to
null.public void setMaxResults(Integer maxResults)
When this parameter is used, ListWorlds
only returns maxResults
results in a single
page along with a nextToken
response element. The remaining results of the initial request can be
seen by sending another ListWorlds
request with the returned nextToken
value. This
value can be between 1 and 100. If this parameter is not used, then ListWorlds
returns up to 100
results and a nextToken
value if applicable.
maxResults
- When this parameter is used, ListWorlds
only returns maxResults
results in a
single page along with a nextToken
response element. The remaining results of the initial
request can be seen by sending another ListWorlds
request with the returned
nextToken
value. This value can be between 1 and 100. If this parameter is not used, then
ListWorlds
returns up to 100 results and a nextToken
value if applicable.public Integer getMaxResults()
When this parameter is used, ListWorlds
only returns maxResults
results in a single
page along with a nextToken
response element. The remaining results of the initial request can be
seen by sending another ListWorlds
request with the returned nextToken
value. This
value can be between 1 and 100. If this parameter is not used, then ListWorlds
returns up to 100
results and a nextToken
value if applicable.
ListWorlds
only returns maxResults
results in a
single page along with a nextToken
response element. The remaining results of the initial
request can be seen by sending another ListWorlds
request with the returned
nextToken
value. This value can be between 1 and 100. If this parameter is not used, then
ListWorlds
returns up to 100 results and a nextToken
value if applicable.public ListWorldsRequest withMaxResults(Integer maxResults)
When this parameter is used, ListWorlds
only returns maxResults
results in a single
page along with a nextToken
response element. The remaining results of the initial request can be
seen by sending another ListWorlds
request with the returned nextToken
value. This
value can be between 1 and 100. If this parameter is not used, then ListWorlds
returns up to 100
results and a nextToken
value if applicable.
maxResults
- When this parameter is used, ListWorlds
only returns maxResults
results in a
single page along with a nextToken
response element. The remaining results of the initial
request can be seen by sending another ListWorlds
request with the returned
nextToken
value. This value can be between 1 and 100. If this parameter is not used, then
ListWorlds
returns up to 100 results and a nextToken
value if applicable.public List<Filter> getFilters()
Optional filters to limit results. You can use status
.
status
.public void setFilters(Collection<Filter> filters)
Optional filters to limit results. You can use status
.
filters
- Optional filters to limit results. You can use status
.public ListWorldsRequest withFilters(Filter... filters)
Optional filters to limit results. You can use status
.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- Optional filters to limit results. You can use status
.public ListWorldsRequest withFilters(Collection<Filter> filters)
Optional filters to limit results. You can use status
.
filters
- Optional filters to limit results. You can use status
.public String toString()
toString
in class Object
Object.toString()
public ListWorldsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()