@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeFleetsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeFleetsRequest>
NOOP
Constructor and Description |
---|
DescribeFleetsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeFleetsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<DescribeFleetsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<Filter> |
getFilters()
One or more filters.
|
List<String> |
getFleetIds()
The ID of the EC2 Fleets.
|
Integer |
getMaxResults()
The maximum number of results to return in a single call.
|
String |
getNextToken()
The token for the next set of results.
|
int |
hashCode() |
void |
setFilters(Collection<Filter> filters)
One or more filters.
|
void |
setFleetIds(Collection<String> fleetIds)
The ID of the EC2 Fleets.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return in a single call.
|
void |
setNextToken(String nextToken)
The token for the next set of results.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeFleetsRequest |
withFilters(Collection<Filter> filters)
One or more filters.
|
DescribeFleetsRequest |
withFilters(Filter... filters)
One or more filters.
|
DescribeFleetsRequest |
withFleetIds(Collection<String> fleetIds)
The ID of the EC2 Fleets.
|
DescribeFleetsRequest |
withFleetIds(String... fleetIds)
The ID of the EC2 Fleets.
|
DescribeFleetsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return in a single call.
|
DescribeFleetsRequest |
withNextToken(String nextToken)
The token for the next set of results.
|
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 setMaxResults(Integer maxResults)
The maximum number of results to return in a single call. Specify a value between 1 and 1000. The default value
is 1000. To retrieve the remaining results, make another call with the returned NextToken
value.
maxResults
- The maximum number of results to return in a single call. Specify a value between 1 and 1000. The default
value is 1000. To retrieve the remaining results, make another call with the returned
NextToken
value.public Integer getMaxResults()
The maximum number of results to return in a single call. Specify a value between 1 and 1000. The default value
is 1000. To retrieve the remaining results, make another call with the returned NextToken
value.
NextToken
value.public DescribeFleetsRequest withMaxResults(Integer maxResults)
The maximum number of results to return in a single call. Specify a value between 1 and 1000. The default value
is 1000. To retrieve the remaining results, make another call with the returned NextToken
value.
maxResults
- The maximum number of results to return in a single call. Specify a value between 1 and 1000. The default
value is 1000. To retrieve the remaining results, make another call with the returned
NextToken
value.public void setNextToken(String nextToken)
The token for the next set of results.
nextToken
- The token for the next set of results.public String getNextToken()
The token for the next set of results.
public DescribeFleetsRequest withNextToken(String nextToken)
The token for the next set of results.
nextToken
- The token for the next set of results.public List<String> getFleetIds()
The ID of the EC2 Fleets.
public void setFleetIds(Collection<String> fleetIds)
The ID of the EC2 Fleets.
fleetIds
- The ID of the EC2 Fleets.public DescribeFleetsRequest withFleetIds(String... fleetIds)
The ID of the EC2 Fleets.
NOTE: This method appends the values to the existing list (if any). Use
setFleetIds(java.util.Collection)
or withFleetIds(java.util.Collection)
if you want to override
the existing values.
fleetIds
- The ID of the EC2 Fleets.public DescribeFleetsRequest withFleetIds(Collection<String> fleetIds)
The ID of the EC2 Fleets.
fleetIds
- The ID of the EC2 Fleets.public void setFilters(Collection<Filter> filters)
One or more filters.
filters
- One or more filters.public DescribeFleetsRequest withFilters(Filter... filters)
One or more 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
- One or more filters.public DescribeFleetsRequest withFilters(Collection<Filter> filters)
One or more filters.
filters
- One or more filters.public Request<DescribeFleetsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeFleetsRequest>
public String toString()
toString
in class Object
Object.toString()
public DescribeFleetsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.