@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListFleetsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListFleetsRequest() |
Modifier and Type | Method and Description |
---|---|
ListFleetsRequest |
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,
ListFleets 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,
ListFleets 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.
|
ListFleetsRequest |
withFilters(Collection<Filter> filters)
Optional filters to limit results.
|
ListFleetsRequest |
withFilters(Filter... filters)
Optional filters to limit results.
|
ListFleetsRequest |
withMaxResults(Integer maxResults)
When this parameter is used,
ListFleets only returns maxResults results in a single
page along with a nextToken response element. |
ListFleetsRequest |
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
ListFleets
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.
This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
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
ListFleets
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. This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
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
ListFleets
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.
This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
nextToken
parameter value is set to a token. To retrieve the next set of results, call
ListFleets
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. This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
public ListFleetsRequest 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
ListFleets
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.
This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
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
ListFleets
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. This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
public void setMaxResults(Integer maxResults)
When this parameter is used, ListFleets
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 ListFleets
request with the returned nextToken
value. This
value can be between 1 and 200. If this parameter is not used, then ListFleets
returns up to 200
results and a nextToken
value if applicable.
maxResults
- When this parameter is used, ListFleets
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 ListFleets
request with the returned
nextToken
value. This value can be between 1 and 200. If this parameter is not used, then
ListFleets
returns up to 200 results and a nextToken
value if applicable.public Integer getMaxResults()
When this parameter is used, ListFleets
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 ListFleets
request with the returned nextToken
value. This
value can be between 1 and 200. If this parameter is not used, then ListFleets
returns up to 200
results and a nextToken
value if applicable.
ListFleets
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 ListFleets
request with the returned
nextToken
value. This value can be between 1 and 200. If this parameter is not used, then
ListFleets
returns up to 200 results and a nextToken
value if applicable.public ListFleetsRequest withMaxResults(Integer maxResults)
When this parameter is used, ListFleets
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 ListFleets
request with the returned nextToken
value. This
value can be between 1 and 200. If this parameter is not used, then ListFleets
returns up to 200
results and a nextToken
value if applicable.
maxResults
- When this parameter is used, ListFleets
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 ListFleets
request with the returned
nextToken
value. This value can be between 1 and 200. If this parameter is not used, then
ListFleets
returns up to 200 results and a nextToken
value if applicable.public List<Filter> getFilters()
Optional filters to limit results.
The filter name name
is supported. When filtering, you must use the complete value of the filtered
item. You can use up to three filters.
The filter name name
is supported. When filtering, you must use the complete value of the
filtered item. You can use up to three filters.
public void setFilters(Collection<Filter> filters)
Optional filters to limit results.
The filter name name
is supported. When filtering, you must use the complete value of the filtered
item. You can use up to three filters.
filters
- Optional filters to limit results.
The filter name name
is supported. When filtering, you must use the complete value of the
filtered item. You can use up to three filters.
public ListFleetsRequest withFilters(Filter... filters)
Optional filters to limit results.
The filter name name
is supported. When filtering, you must use the complete value of the filtered
item. You can use up to three filters.
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.
The filter name name
is supported. When filtering, you must use the complete value of the
filtered item. You can use up to three filters.
public ListFleetsRequest withFilters(Collection<Filter> filters)
Optional filters to limit results.
The filter name name
is supported. When filtering, you must use the complete value of the filtered
item. You can use up to three filters.
filters
- Optional filters to limit results.
The filter name name
is supported. When filtering, you must use the complete value of the
filtered item. You can use up to three filters.
public String toString()
toString
in class Object
Object.toString()
public ListFleetsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()