public class DescribeFleetUtilizationRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the input for a request action.
Modifier and Type | Field and Description |
---|---|
private java.util.List<java.lang.String> |
fleetIds
Unique identifier for the fleet(s) you want to retrieve utilization data
for.
|
private java.lang.Integer |
limit
Maximum number of results to return.
|
private java.lang.String |
nextToken
Token indicating the start of the next sequential page of results.
|
NOOP
Constructor and Description |
---|
DescribeFleetUtilizationRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeFleetUtilizationRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getFleetIds()
Unique identifier for the fleet(s) you want to retrieve utilization data
for.
|
java.lang.Integer |
getLimit()
Maximum number of results to return.
|
java.lang.String |
getNextToken()
Token indicating the start of the next sequential page of results.
|
int |
hashCode() |
void |
setFleetIds(java.util.Collection<java.lang.String> fleetIds)
Unique identifier for the fleet(s) you want to retrieve utilization data
for.
|
void |
setLimit(java.lang.Integer limit)
Maximum number of results to return.
|
void |
setNextToken(java.lang.String nextToken)
Token indicating the start of the next sequential page of results.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeFleetUtilizationRequest |
withFleetIds(java.util.Collection<java.lang.String> fleetIds)
Unique identifier for the fleet(s) you want to retrieve utilization data
for.
|
DescribeFleetUtilizationRequest |
withFleetIds(java.lang.String... fleetIds)
Unique identifier for the fleet(s) you want to retrieve utilization data
for.
|
DescribeFleetUtilizationRequest |
withLimit(java.lang.Integer limit)
Maximum number of results to return.
|
DescribeFleetUtilizationRequest |
withNextToken(java.lang.String nextToken)
Token indicating the start of the next sequential page of results.
|
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
private java.util.List<java.lang.String> fleetIds
Unique identifier for the fleet(s) you want to retrieve utilization data for. Leave this parameter empty to retrieve utilization data for all fleets.
private java.lang.Integer 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.
private java.lang.String 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.
public java.util.List<java.lang.String> getFleetIds()
Unique identifier for the fleet(s) you want to retrieve utilization data for. Leave this parameter empty to retrieve utilization data for all fleets.
public void setFleetIds(java.util.Collection<java.lang.String> fleetIds)
Unique identifier for the fleet(s) you want to retrieve utilization data for. Leave this parameter empty to retrieve utilization data for all fleets.
fleetIds
- Unique identifier for the fleet(s) you want to retrieve
utilization data for. Leave this parameter empty to retrieve
utilization data for all fleets.public DescribeFleetUtilizationRequest withFleetIds(java.lang.String... fleetIds)
Unique identifier for the fleet(s) you want to retrieve utilization data for. Leave this parameter empty to retrieve utilization data 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
- Unique identifier for the fleet(s) you want to retrieve
utilization data for. Leave this parameter empty to retrieve
utilization data for all fleets.public DescribeFleetUtilizationRequest withFleetIds(java.util.Collection<java.lang.String> fleetIds)
Unique identifier for the fleet(s) you want to retrieve utilization data for. Leave this parameter empty to retrieve utilization data for all fleets.
fleetIds
- Unique identifier for the fleet(s) you want to retrieve
utilization data for. Leave this parameter empty to retrieve
utilization data for all fleets.public void setLimit(java.lang.Integer 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.
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.public java.lang.Integer 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.
public DescribeFleetUtilizationRequest withLimit(java.lang.Integer 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.
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.public void setNextToken(java.lang.String 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.
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.public java.lang.String 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.
public DescribeFleetUtilizationRequest withNextToken(java.lang.String 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.
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.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeFleetUtilizationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()