public class DescribeFleetCapacityRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for a request action.
NOOP| Constructor and Description |
|---|
DescribeFleetCapacityRequest() |
| Modifier and Type | Method and Description |
|---|---|
DescribeFleetCapacityRequest |
clone() |
boolean |
equals(Object obj) |
List<String> |
getFleetIds()
Unique identifier for the fleet(s) you want to retrieve capacity
information for.
|
Integer |
getLimit()
Maximum number of results to return.
|
String |
getNextToken()
Token indicating the start of the next sequential page of results.
|
int |
hashCode() |
void |
setFleetIds(Collection<String> fleetIds)
Unique identifier for the fleet(s) you want to retrieve capacity
information for.
|
void |
setLimit(Integer limit)
Maximum number of results to return.
|
void |
setNextToken(String nextToken)
Token indicating the start of the next sequential page of results.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeFleetCapacityRequest |
withFleetIds(Collection<String> fleetIds)
Unique identifier for the fleet(s) you want to retrieve capacity
information for.
|
DescribeFleetCapacityRequest |
withFleetIds(String... fleetIds)
Unique identifier for the fleet(s) you want to retrieve capacity
information for.
|
DescribeFleetCapacityRequest |
withLimit(Integer limit)
Maximum number of results to return.
|
DescribeFleetCapacityRequest |
withNextToken(String nextToken)
Token indicating the start of the next sequential page of results.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic List<String> getFleetIds()
Unique identifier for the fleet(s) you want to retrieve capacity information for.
public void setFleetIds(Collection<String> fleetIds)
Unique identifier for the fleet(s) you want to retrieve capacity information for.
fleetIds - Unique identifier for the fleet(s) you want to retrieve capacity
information for.public DescribeFleetCapacityRequest withFleetIds(String... fleetIds)
Unique identifier for the fleet(s) you want to retrieve capacity information for.
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 - Unique identifier for the fleet(s) you want to retrieve capacity
information for.public DescribeFleetCapacityRequest withFleetIds(Collection<String> fleetIds)
Unique identifier for the fleet(s) you want to retrieve capacity information for.
fleetIds - Unique identifier for the fleet(s) you want to retrieve capacity
information for.public void setLimit(Integer limit)
Maximum number of results to return. You can use this parameter with NextToken to get results as a set of sequential pages.
limit - Maximum number of results to return. You can use this parameter
with NextToken to get results as a set of sequential pages.public Integer getLimit()
Maximum number of results to return. You can use this parameter with NextToken to get results as a set of sequential pages.
public DescribeFleetCapacityRequest withLimit(Integer limit)
Maximum number of results to return. You can use this parameter with NextToken to get results as a set of sequential pages.
limit - Maximum number of results to return. You can use this parameter
with NextToken to get results as a set of sequential pages.public void setNextToken(String nextToken)
Token indicating the start of the next sequential page of results. A token is returned any time there may be additional results to be retrieved. To start at the beginning of a result set, do not set this parameter.
nextToken - Token indicating the start of the next sequential page of results.
A token is returned any time there may be additional results to be
retrieved. To start at the beginning of a result set, do not set
this parameter.public String getNextToken()
Token indicating the start of the next sequential page of results. A token is returned any time there may be additional results to be retrieved. To start at the beginning of a result set, do not set this parameter.
public DescribeFleetCapacityRequest withNextToken(String nextToken)
Token indicating the start of the next sequential page of results. A token is returned any time there may be additional results to be retrieved. To start at the beginning of a result set, do not set this parameter.
nextToken - Token indicating the start of the next sequential page of results.
A token is returned any time there may be additional results to be
retrieved. To start at the beginning of a result set, do not set
this parameter.public String toString()
toString in class ObjectObject.toString()public DescribeFleetCapacityRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2016. All rights reserved.