Class DescribeFleetCapacityRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
Represents the input for a request action.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
Unique identifier for the fleet(s) you want to retrieve capacity information for.getLimit()
Maximum number of results to return.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
Maximum number of results to return.void
setNextToken
(String nextToken) Token indicating the start of the next sequential page of results.toString()
Returns a string representation of this object; useful for testing and debugging.withFleetIds
(String... fleetIds) Unique identifier for the fleet(s) you want to retrieve capacity information for.withFleetIds
(Collection<String> fleetIds) Unique identifier for the fleet(s) you want to retrieve capacity information for.Maximum number of results to return.withNextToken
(String nextToken) Token indicating the start of the next sequential page of results.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
DescribeFleetCapacityRequest
public DescribeFleetCapacityRequest()
-
-
Method Details
-
getFleetIds
Unique identifier for the fleet(s) you want to retrieve capacity information for.
- Returns:
- Unique identifier for the fleet(s) you want to retrieve capacity information for.
-
setFleetIds
Unique identifier for the fleet(s) you want to retrieve capacity information for.
- Parameters:
fleetIds
- Unique identifier for the fleet(s) you want to retrieve capacity information for.
-
withFleetIds
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)
orwithFleetIds(java.util.Collection)
if you want to override the existing values.- Parameters:
fleetIds
- Unique identifier for the fleet(s) you want to retrieve capacity information for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withFleetIds
Unique identifier for the fleet(s) you want to retrieve capacity information for.
- Parameters:
fleetIds
- Unique identifier for the fleet(s) you want to retrieve capacity information for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLimit
Maximum number of results to return. You can 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.
- Parameters:
limit
- Maximum number of results to return. You can 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.
-
getLimit
Maximum number of results to return. You can 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.
- Returns:
- Maximum number of results to return. You can 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.
-
withLimit
Maximum number of results to return. You can 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.
- Parameters:
limit
- Maximum number of results to return. You can 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
Token indicating the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value. This parameter is ignored when the request specifies one or a list of fleet IDs.
- Parameters:
nextToken
- Token indicating the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value. This parameter is ignored when the request specifies one or a list of fleet IDs.
-
getNextToken
Token indicating the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value. This parameter is ignored when the request specifies one or a list of fleet IDs.
- Returns:
- Token indicating the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value. This parameter is ignored when the request specifies one or a list of fleet IDs.
-
withNextToken
Token indicating the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value. This parameter is ignored when the request specifies one or a list of fleet IDs.
- Parameters:
nextToken
- Token indicating the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value. This parameter is ignored when the request specifies one or a list of fleet IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-