@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 for the next set of results.
|
int |
hashCode() |
void |
setFleets(Collection<FleetData> fleets)
Information about the EC2 Fleets.
|
void |
setNextToken(String nextToken)
The token for the next set of results.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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 for the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
The token for the next set of results.
nextToken
- The token for the next set of results.public String getNextToken()
The token for the next set of results.
public DescribeFleetsResult withNextToken(String nextToken)
The token for the next set of results.
nextToken
- The token for the next set of results.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()
Copyright © 2018. All rights reserved.