public class DescribeFleetCapacityResult extends Object 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 indicating 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 indicating 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 indicating where to resume retrieving results on the next call to
this action.
|
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 indicating 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 indicating 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 indicating 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 indicating 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 indicating 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 ObjectObject.toString()public DescribeFleetCapacityResult clone()
Copyright © 2016. All rights reserved.