@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeCapacityReservationFleetsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeCapacityReservationFleetsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeCapacityReservationFleetsResult |
clone() |
boolean |
equals(Object obj) |
List<CapacityReservationFleet> |
getCapacityReservationFleets()
Information about the Capacity Reservation Fleets.
|
String |
getNextToken()
The token to use to retrieve the next page of results.
|
int |
hashCode() |
void |
setCapacityReservationFleets(Collection<CapacityReservationFleet> capacityReservationFleets)
Information about the Capacity Reservation Fleets.
|
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
DescribeCapacityReservationFleetsResult |
withCapacityReservationFleets(CapacityReservationFleet... capacityReservationFleets)
Information about the Capacity Reservation Fleets.
|
DescribeCapacityReservationFleetsResult |
withCapacityReservationFleets(Collection<CapacityReservationFleet> capacityReservationFleets)
Information about the Capacity Reservation Fleets.
|
DescribeCapacityReservationFleetsResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public DescribeCapacityReservationFleetsResult()
public List<CapacityReservationFleet> getCapacityReservationFleets()
Information about the Capacity Reservation Fleets.
public void setCapacityReservationFleets(Collection<CapacityReservationFleet> capacityReservationFleets)
Information about the Capacity Reservation Fleets.
capacityReservationFleets
- Information about the Capacity Reservation Fleets.public DescribeCapacityReservationFleetsResult withCapacityReservationFleets(CapacityReservationFleet... capacityReservationFleets)
Information about the Capacity Reservation Fleets.
NOTE: This method appends the values to the existing list (if any). Use
setCapacityReservationFleets(java.util.Collection)
or
withCapacityReservationFleets(java.util.Collection)
if you want to override the existing values.
capacityReservationFleets
- Information about the Capacity Reservation Fleets.public DescribeCapacityReservationFleetsResult withCapacityReservationFleets(Collection<CapacityReservationFleet> capacityReservationFleets)
Information about the Capacity Reservation Fleets.
capacityReservationFleets
- Information about the Capacity Reservation Fleets.public void setNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public String getNextToken()
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
null
when there are no
more results to return.public DescribeCapacityReservationFleetsResult withNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public String toString()
toString
in class Object
Object.toString()
public DescribeCapacityReservationFleetsResult clone()
Copyright © 2022. All rights reserved.