@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeFleetCapacityResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents the returned data in response to a request action.
Constructor and Description |
---|
DescribeFleetCapacityResult() |
Modifier and Type | Method and Description |
---|---|
DescribeFleetCapacityResult |
clone() |
boolean |
equals(Object obj) |
List<FleetCapacity> |
getFleetCapacity()
Collection of objects containing capacity information for each requested fleet ID.
|
String |
getNextToken()
Token that indicates where to resume retrieving results on the next call to this action.
|
int |
hashCode() |
void |
setFleetCapacity(Collection<FleetCapacity> fleetCapacity)
Collection of objects containing capacity information for each requested fleet ID.
|
void |
setNextToken(String nextToken)
Token that indicates where to resume retrieving results on the next call to this action.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeFleetCapacityResult |
withFleetCapacity(Collection<FleetCapacity> fleetCapacity)
Collection of objects containing capacity information for each requested fleet ID.
|
DescribeFleetCapacityResult |
withFleetCapacity(FleetCapacity... fleetCapacity)
Collection of objects containing capacity information for each requested fleet ID.
|
DescribeFleetCapacityResult |
withNextToken(String nextToken)
Token that indicates where to resume retrieving results on the next call to this action.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<FleetCapacity> getFleetCapacity()
Collection of objects containing capacity information for each requested fleet ID. Leave this parameter empty to retrieve capacity information for all fleets.
public void setFleetCapacity(Collection<FleetCapacity> fleetCapacity)
Collection of objects containing capacity information for each requested fleet ID. Leave this parameter empty to retrieve capacity information for all fleets.
fleetCapacity
- Collection of objects containing capacity information for each requested fleet ID. Leave this parameter
empty to retrieve capacity information for all fleets.public DescribeFleetCapacityResult withFleetCapacity(FleetCapacity... fleetCapacity)
Collection of objects containing capacity information for each requested fleet ID. Leave this parameter empty to retrieve capacity information for all fleets.
NOTE: This method appends the values to the existing list (if any). Use
setFleetCapacity(java.util.Collection)
or withFleetCapacity(java.util.Collection)
if you want
to override the existing values.
fleetCapacity
- Collection of objects containing capacity information for each requested fleet ID. Leave this parameter
empty to retrieve capacity information for all fleets.public DescribeFleetCapacityResult withFleetCapacity(Collection<FleetCapacity> fleetCapacity)
Collection of objects containing capacity information for each requested fleet ID. Leave this parameter empty to retrieve capacity information for all fleets.
fleetCapacity
- Collection of objects containing capacity information for each requested fleet ID. Leave this parameter
empty to retrieve capacity information for all fleets.public void setNextToken(String nextToken)
Token that indicates where to resume retrieving results on the next call to this action. If no token is returned, these results represent the end of the list.
nextToken
- Token that indicates where to resume retrieving results on the next call to this action. If no token is
returned, these results represent the end of the list.public String getNextToken()
Token that indicates where to resume retrieving results on the next call to this action. If no token is returned, these results represent the end of the list.
public DescribeFleetCapacityResult withNextToken(String nextToken)
Token that indicates where to resume retrieving results on the next call to this action. If no token is returned, these results represent the end of the list.
nextToken
- Token that indicates where to resume retrieving results on the next call to this action. If no token is
returned, these results represent the end of the list.public String toString()
toString
in class Object
Object.toString()
public DescribeFleetCapacityResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.