@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListInstanceFleetsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListInstanceFleetsResult() |
Modifier and Type | Method and Description |
---|---|
ListInstanceFleetsResult |
clone() |
boolean |
equals(Object obj) |
List<InstanceFleet> |
getInstanceFleets()
The list of instance fleets for the cluster and given filters.
|
String |
getMarker()
The pagination token that indicates the next set of results to retrieve.
|
int |
hashCode() |
void |
setInstanceFleets(Collection<InstanceFleet> instanceFleets)
The list of instance fleets for the cluster and given filters.
|
void |
setMarker(String marker)
The pagination token that indicates the next set of results to retrieve.
|
String |
toString()
Returns a string representation of this object.
|
ListInstanceFleetsResult |
withInstanceFleets(Collection<InstanceFleet> instanceFleets)
The list of instance fleets for the cluster and given filters.
|
ListInstanceFleetsResult |
withInstanceFleets(InstanceFleet... instanceFleets)
The list of instance fleets for the cluster and given filters.
|
ListInstanceFleetsResult |
withMarker(String marker)
The pagination token that indicates the next set of results to retrieve.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<InstanceFleet> getInstanceFleets()
The list of instance fleets for the cluster and given filters.
public void setInstanceFleets(Collection<InstanceFleet> instanceFleets)
The list of instance fleets for the cluster and given filters.
instanceFleets
- The list of instance fleets for the cluster and given filters.public ListInstanceFleetsResult withInstanceFleets(InstanceFleet... instanceFleets)
The list of instance fleets for the cluster and given filters.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceFleets(java.util.Collection)
or withInstanceFleets(java.util.Collection)
if you want
to override the existing values.
instanceFleets
- The list of instance fleets for the cluster and given filters.public ListInstanceFleetsResult withInstanceFleets(Collection<InstanceFleet> instanceFleets)
The list of instance fleets for the cluster and given filters.
instanceFleets
- The list of instance fleets for the cluster and given filters.public void setMarker(String marker)
The pagination token that indicates the next set of results to retrieve.
marker
- The pagination token that indicates the next set of results to retrieve.public String getMarker()
The pagination token that indicates the next set of results to retrieve.
public ListInstanceFleetsResult withMarker(String marker)
The pagination token that indicates the next set of results to retrieve.
marker
- The pagination token that indicates the next set of results to retrieve.public String toString()
toString
in class Object
Object.toString()
public ListInstanceFleetsResult clone()