@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<Fleet> |
getFleets()
Information about the fleets.
|
String |
getNextToken()
The pagination token to use to retrieve the next page of results for this operation.
|
int |
hashCode() |
void |
setFleets(Collection<Fleet> fleets)
Information about the fleets.
|
void |
setNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeFleetsResult |
withFleets(Collection<Fleet> fleets)
Information about the fleets.
|
DescribeFleetsResult |
withFleets(Fleet... fleets)
Information about the fleets.
|
DescribeFleetsResult |
withNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Fleet> getFleets()
Information about the fleets.
public void setFleets(Collection<Fleet> fleets)
Information about the fleets.
fleets
- Information about the fleets.public DescribeFleetsResult withFleets(Fleet... fleets)
Information about the 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 fleets.public DescribeFleetsResult withFleets(Collection<Fleet> fleets)
Information about the fleets.
fleets
- Information about the fleets.public void setNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
nextToken
- The pagination token to use to retrieve the next page of results for this operation. If there are no more
pages, this value is null.public String getNextToken()
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
public DescribeFleetsResult withNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
nextToken
- The pagination token to use to retrieve the next page of results for this operation. If there are no more
pages, this value is null.public String toString()
toString
in class Object
Object.toString()
public DescribeFleetsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.