@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeFleetCapacityResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| 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, setSdkResponseMetadatapublic 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. Changes in desired instance value can take up to 1 minute to be reflected.
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. Changes in desired instance value can take up to 1 minute to be reflected.
fleetCapacity - A collection of objects that contains capacity information for each requested fleet ID. Capacity objects
are returned only for fleets that currently exist. Changes in desired instance value can take up to 1
minute to be reflected.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. Changes in desired instance value can take up to 1 minute to be reflected.
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. Changes in desired instance value can take up to 1
minute to be reflected.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. Changes in desired instance value can take up to 1 minute to be reflected.
fleetCapacity - A collection of objects that contains capacity information for each requested fleet ID. Capacity objects
are returned only for fleets that currently exist. Changes in desired instance value can take up to 1
minute to be reflected.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 ObjectObject.toString()public DescribeFleetCapacityResult clone()