@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> |
getFleetSummaries()
A list of information for each fleet.
|
String |
getNextToken()
The token to retrieve the next set of results, or
null if there are no more results. |
int |
hashCode() |
void |
setFleetSummaries(Collection<FleetSummary> fleetSummaries)
A list of information for each fleet.
|
void |
setNextToken(String nextToken)
The token to retrieve the next set of results, or
null if there are no more results. |
String |
toString()
Returns a string representation of this object.
|
ListFleetsResult |
withFleetSummaries(Collection<FleetSummary> fleetSummaries)
A list of information for each fleet.
|
ListFleetsResult |
withFleetSummaries(FleetSummary... fleetSummaries)
A list of information for each fleet.
|
ListFleetsResult |
withNextToken(String nextToken)
The token to retrieve the next set of results, or
null if there are no more results. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<FleetSummary> getFleetSummaries()
A list of information for each fleet.
public void setFleetSummaries(Collection<FleetSummary> fleetSummaries)
A list of information for each fleet.
fleetSummaries
- A list of information for each fleet.public ListFleetsResult withFleetSummaries(FleetSummary... fleetSummaries)
A list of information for each fleet.
NOTE: This method appends the values to the existing list (if any). Use
setFleetSummaries(java.util.Collection)
or withFleetSummaries(java.util.Collection)
if you want
to override the existing values.
fleetSummaries
- A list of information for each fleet.public ListFleetsResult withFleetSummaries(Collection<FleetSummary> fleetSummaries)
A list of information for each fleet.
fleetSummaries
- A list of information for each fleet.public void setNextToken(String nextToken)
The token to retrieve the next set of results, or null
if there are no more results.
nextToken
- The token to retrieve the next set of results, or null
if there are no more results.public String getNextToken()
The token to retrieve the next set of results, or null
if there are no more results.
null
if there are no more results.public ListFleetsResult withNextToken(String nextToken)
The token to retrieve the next set of results, or null
if there are no more results.
nextToken
- The token to retrieve the next set of results, or null
if there are no more results.public String toString()
toString
in class Object
Object.toString()
public ListFleetsResult clone()