@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<FleetSummary> |
getFleetSummaryList()
The summary list of the fleets.
|
String |
getNextToken()
The pagination token used to retrieve the next page of results for this operation.
|
int |
hashCode() |
void |
setFleetSummaryList(Collection<FleetSummary> fleetSummaryList)
The summary list of the fleets.
|
void |
setNextToken(String nextToken)
The pagination token used to retrieve the next page of results for this operation.
|
String |
toString()
Returns a string representation of this object.
|
ListFleetsResult |
withFleetSummaryList(Collection<FleetSummary> fleetSummaryList)
The summary list of the fleets.
|
ListFleetsResult |
withFleetSummaryList(FleetSummary... fleetSummaryList)
The summary list of the fleets.
|
ListFleetsResult |
withNextToken(String nextToken)
The pagination token used to retrieve the next page of results for this operation.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<FleetSummary> getFleetSummaryList()
The summary list of the fleets.
public void setFleetSummaryList(Collection<FleetSummary> fleetSummaryList)
The summary list of the fleets.
fleetSummaryList
- The summary list of the fleets.public ListFleetsResult withFleetSummaryList(FleetSummary... fleetSummaryList)
The summary list of the fleets.
NOTE: This method appends the values to the existing list (if any). Use
setFleetSummaryList(java.util.Collection)
or withFleetSummaryList(java.util.Collection)
if you
want to override the existing values.
fleetSummaryList
- The summary list of the fleets.public ListFleetsResult withFleetSummaryList(Collection<FleetSummary> fleetSummaryList)
The summary list of the fleets.
fleetSummaryList
- The summary list of the fleets.public void setNextToken(String nextToken)
The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.
nextToken
- The pagination token used 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 used to retrieve the next page of results for this operation. If there are no more pages, this value is null.
public ListFleetsResult withNextToken(String nextToken)
The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.
nextToken
- The pagination token used 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 ListFleetsResult clone()