@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 operation.
Constructor and Description |
---|
DescribeFleetCapacityResult() |
Modifier and Type | Method and Description |
---|---|
DescribeFleetCapacityResult |
clone() |
boolean |
equals(Object obj) |
List<FleetCapacity> |
getFleetCapacity()
A collection of objects that contains capacity information for each requested fleet ID.
|
String |
getNextToken()
A token that indicates where to resume retrieving results on the next call to this operation.
|
int |
hashCode() |
void |
setFleetCapacity(Collection<FleetCapacity> fleetCapacity)
A collection of objects that contains capacity information for each requested fleet ID.
|
void |
setNextToken(String nextToken)
A token that indicates where to resume retrieving results on the next call to this operation.
|
String |
toString()
Returns a string representation of this object.
|
DescribeFleetCapacityResult |
withFleetCapacity(Collection<FleetCapacity> fleetCapacity)
A collection of objects that contains capacity information for each requested fleet ID.
|
DescribeFleetCapacityResult |
withFleetCapacity(FleetCapacity... fleetCapacity)
A collection of objects that contains capacity information for each requested fleet ID.
|
DescribeFleetCapacityResult |
withNextToken(String nextToken)
A token that indicates where to resume retrieving results on the next call to this operation.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<FleetCapacity> getFleetCapacity()
A collection of objects that contains capacity information for each requested fleet ID. Capacity objects are returned only for fleets that currently exist.
public void setFleetCapacity(Collection<FleetCapacity> fleetCapacity)
A collection of objects that contains capacity information for each requested fleet ID. Capacity objects are returned only for fleets that currently exist.
fleetCapacity
- A collection of objects that contains capacity information for each requested fleet ID. Capacity objects
are returned only for fleets that currently exist.public DescribeFleetCapacityResult withFleetCapacity(FleetCapacity... fleetCapacity)
A collection of objects that contains capacity information for each requested fleet ID. Capacity objects are returned only for fleets that currently exist.
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
- A collection of objects that contains capacity information for each requested fleet ID. Capacity objects
are returned only for fleets that currently exist.public DescribeFleetCapacityResult withFleetCapacity(Collection<FleetCapacity> fleetCapacity)
A collection of objects that contains capacity information for each requested fleet ID. Capacity objects are returned only for fleets that currently exist.
fleetCapacity
- A collection of objects that contains capacity information for each requested fleet ID. Capacity objects
are returned only for fleets that currently exist.public void setNextToken(String nextToken)
A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.
nextToken
- A token that indicates where to resume retrieving results on the next call to this operation. If no token
is returned, these results represent the end of the list.public String getNextToken()
A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.
public DescribeFleetCapacityResult withNextToken(String nextToken)
A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.
nextToken
- A token that indicates where to resume retrieving results on the next call to this operation. 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()