@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeFleetsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeFleetsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeFleetsResult |
clone() |
boolean |
equals(Object obj) |
List<FleetData> |
getFleets()
Information about the EC2 Fleets.
|
String |
getNextToken()
The token to include in another request to get the next page of items.
|
int |
hashCode() |
void |
setFleets(Collection<FleetData> fleets)
Information about the EC2 Fleets.
|
void |
setNextToken(String nextToken)
The token to include in another request to get the next page of items.
|
String |
toString()
Returns a string representation of this object.
|
DescribeFleetsResult |
withFleets(Collection<FleetData> fleets)
Information about the EC2 Fleets.
|
DescribeFleetsResult |
withFleets(FleetData... fleets)
Information about the EC2 Fleets.
|
DescribeFleetsResult |
withNextToken(String nextToken)
The token to include in another request to get the next page of items.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
nextToken
- The token to include in another request to get the next page of items. This value is null
when there are no more items to return.public String getNextToken()
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
null
when there are no more items to return.public DescribeFleetsResult withNextToken(String nextToken)
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
nextToken
- The token to include in another request to get the next page of items. This value is null
when there are no more items to return.public List<FleetData> getFleets()
Information about the EC2 Fleets.
public void setFleets(Collection<FleetData> fleets)
Information about the EC2 Fleets.
fleets
- Information about the EC2 Fleets.public DescribeFleetsResult withFleets(FleetData... fleets)
Information about the EC2 Fleets.
NOTE: This method appends the values to the existing list (if any). Use
setFleets(java.util.Collection)
or withFleets(java.util.Collection)
if you want to override the
existing values.
fleets
- Information about the EC2 Fleets.public DescribeFleetsResult withFleets(Collection<FleetData> fleets)
Information about the EC2 Fleets.
fleets
- Information about the EC2 Fleets.public String toString()
toString
in class Object
Object.toString()
public DescribeFleetsResult clone()