@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeFleetCapacityRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeFleetCapacityRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeFleetCapacityRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getFleetIds()
A unique identifier for the fleet to retrieve capacity information for.
|
Integer |
getLimit()
The maximum number of results to return.
|
String |
getNextToken()
A token that indicates the start of the next sequential page of results.
|
int |
hashCode() |
void |
setFleetIds(Collection<String> fleetIds)
A unique identifier for the fleet to retrieve capacity information for.
|
void |
setLimit(Integer limit)
The maximum number of results to return.
|
void |
setNextToken(String nextToken)
A token that indicates the start of the next sequential page of results.
|
String |
toString()
Returns a string representation of this object.
|
DescribeFleetCapacityRequest |
withFleetIds(Collection<String> fleetIds)
A unique identifier for the fleet to retrieve capacity information for.
|
DescribeFleetCapacityRequest |
withFleetIds(String... fleetIds)
A unique identifier for the fleet to retrieve capacity information for.
|
DescribeFleetCapacityRequest |
withLimit(Integer limit)
The maximum number of results to return.
|
DescribeFleetCapacityRequest |
withNextToken(String nextToken)
A token that indicates the start of the next sequential page 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 List<String> getFleetIds()
A unique identifier for the fleet to retrieve capacity information for. You can use either the fleet ID or ARN value. Leave this parameter empty to retrieve capacity information for all fleets.
public void setFleetIds(Collection<String> fleetIds)
A unique identifier for the fleet to retrieve capacity information for. You can use either the fleet ID or ARN value. Leave this parameter empty to retrieve capacity information for all fleets.
fleetIds
- A unique identifier for the fleet to retrieve capacity information for. You can use either the fleet ID or
ARN value. Leave this parameter empty to retrieve capacity information for all fleets.public DescribeFleetCapacityRequest withFleetIds(String... fleetIds)
A unique identifier for the fleet to retrieve capacity information for. You can use either the fleet ID or ARN value. Leave this parameter empty to retrieve capacity information for all 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
- A unique identifier for the fleet to retrieve capacity information for. You can use either the fleet ID or
ARN value. Leave this parameter empty to retrieve capacity information for all fleets.public DescribeFleetCapacityRequest withFleetIds(Collection<String> fleetIds)
A unique identifier for the fleet to retrieve capacity information for. You can use either the fleet ID or ARN value. Leave this parameter empty to retrieve capacity information for all fleets.
fleetIds
- A unique identifier for the fleet to retrieve capacity information for. You can use either the fleet ID or
ARN value. Leave this parameter empty to retrieve capacity information for all fleets.public void setLimit(Integer limit)
The maximum number of results to return. Use this parameter with NextToken
to get results as a set
of sequential pages. This parameter is ignored when the request specifies one or a list of fleet IDs.
limit
- The maximum number of results to return. Use this parameter with NextToken
to get results as
a set of sequential pages. This parameter is ignored when the request specifies one or a list of fleet
IDs.public Integer getLimit()
The maximum number of results to return. Use this parameter with NextToken
to get results as a set
of sequential pages. This parameter is ignored when the request specifies one or a list of fleet IDs.
NextToken
to get results as
a set of sequential pages. This parameter is ignored when the request specifies one or a list of fleet
IDs.public DescribeFleetCapacityRequest withLimit(Integer limit)
The maximum number of results to return. Use this parameter with NextToken
to get results as a set
of sequential pages. This parameter is ignored when the request specifies one or a list of fleet IDs.
limit
- The maximum number of results to return. Use this parameter with NextToken
to get results as
a set of sequential pages. This parameter is ignored when the request specifies one or a list of fleet
IDs.public void setNextToken(String nextToken)
A token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value. This parameter is ignored when the request specifies one or a list of fleet IDs.
nextToken
- A token that indicates the start of the next sequential page of results. Use the token that is returned
with a previous call to this operation. To start at the beginning of the result set, do not specify a
value. This parameter is ignored when the request specifies one or a list of fleet IDs.public String getNextToken()
A token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value. This parameter is ignored when the request specifies one or a list of fleet IDs.
public DescribeFleetCapacityRequest withNextToken(String nextToken)
A token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value. This parameter is ignored when the request specifies one or a list of fleet IDs.
nextToken
- A token that indicates the start of the next sequential page of results. Use the token that is returned
with a previous call to this operation. To start at the beginning of the result set, do not specify a
value. This parameter is ignored when the request specifies one or a list of fleet IDs.public String toString()
toString
in class Object
Object.toString()
public DescribeFleetCapacityRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()