@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListFleetsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListFleetsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListFleetsResult |
clone() |
boolean |
equals(Object obj) |
List<Fleet> |
getFleetDetails()
A list of fleet details meeting the request criteria.
|
String |
getNextToken()
The
nextToken value to include in a future ListDeploymentJobs request. |
int |
hashCode() |
void |
setFleetDetails(Collection<Fleet> fleetDetails)
A list of fleet details meeting the request criteria.
|
void |
setNextToken(String nextToken)
The
nextToken value to include in a future ListDeploymentJobs request. |
String |
toString()
Returns a string representation of this object.
|
ListFleetsResult |
withFleetDetails(Collection<Fleet> fleetDetails)
A list of fleet details meeting the request criteria.
|
ListFleetsResult |
withFleetDetails(Fleet... fleetDetails)
A list of fleet details meeting the request criteria.
|
ListFleetsResult |
withNextToken(String nextToken)
The
nextToken value to include in a future ListDeploymentJobs request. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<Fleet> getFleetDetails()
A list of fleet details meeting the request criteria.
public void setFleetDetails(Collection<Fleet> fleetDetails)
A list of fleet details meeting the request criteria.
fleetDetails - A list of fleet details meeting the request criteria.public ListFleetsResult withFleetDetails(Fleet... fleetDetails)
A list of fleet details meeting the request criteria.
NOTE: This method appends the values to the existing list (if any). Use
setFleetDetails(java.util.Collection) or withFleetDetails(java.util.Collection) if you want to
override the existing values.
fleetDetails - A list of fleet details meeting the request criteria.public ListFleetsResult withFleetDetails(Collection<Fleet> fleetDetails)
A list of fleet details meeting the request criteria.
fleetDetails - A list of fleet details meeting the request criteria.public void setNextToken(String nextToken)
The nextToken value to include in a future ListDeploymentJobs request. When the results
of a ListFleets request exceed maxResults, this value can be used to retrieve the next
page of results. This value is null when there are no more results to return.
nextToken - The nextToken value to include in a future ListDeploymentJobs request. When the
results of a ListFleets request exceed maxResults, this value can be used to
retrieve the next page of results. This value is null when there are no more results to
return.public String getNextToken()
The nextToken value to include in a future ListDeploymentJobs request. When the results
of a ListFleets request exceed maxResults, this value can be used to retrieve the next
page of results. This value is null when there are no more results to return.
nextToken value to include in a future ListDeploymentJobs request. When the
results of a ListFleets request exceed maxResults, this value can be used to
retrieve the next page of results. This value is null when there are no more results to
return.public ListFleetsResult withNextToken(String nextToken)
The nextToken value to include in a future ListDeploymentJobs request. When the results
of a ListFleets request exceed maxResults, this value can be used to retrieve the next
page of results. This value is null when there are no more results to return.
nextToken - The nextToken value to include in a future ListDeploymentJobs request. When the
results of a ListFleets request exceed maxResults, this value can be used 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 ObjectObject.toString()public ListFleetsResult clone()
Copyright © 2020. All rights reserved.