@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()
The list of fleet details.
|
String |
getNextToken()
The pagination token to use to retrieve the next page of results for this operation.
|
int |
hashCode() |
void |
setFleets(Collection<Fleet> fleets)
The list of fleet details.
|
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)
The list of fleet details.
|
DescribeFleetsResult |
withFleets(Fleet... fleets)
The list of fleet details.
|
DescribeFleetsResult |
withNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<Fleet> getFleets()
The list of fleet details.
public void setFleets(Collection<Fleet> fleets)
The list of fleet details.
fleets - The list of fleet details.public DescribeFleetsResult withFleets(Fleet... fleets)
The list of fleet details.
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 - The list of fleet details.public DescribeFleetsResult withFleets(Collection<Fleet> fleets)
The list of fleet details.
fleets - The list of fleet details.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 ObjectObject.toString()public DescribeFleetsResult clone()
Copyright © 2017. All rights reserved.