public class ListInstancesResult extends Object implements Serializable
This output contains the list of instances.
Constructor and Description |
---|
ListInstancesResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<Instance> |
getInstances()
The list of instances for the cluster and given filters.
|
String |
getMarker()
The pagination token is a random string indicating whether there are
more results to fetch.
|
int |
hashCode() |
void |
setInstances(Collection<Instance> instances)
The list of instances for the cluster and given filters.
|
void |
setMarker(String marker)
The pagination token is a random string indicating whether there are
more results to fetch.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListInstancesResult |
withInstances(Collection<Instance> instances)
The list of instances for the cluster and given filters.
|
ListInstancesResult |
withInstances(Instance... instances)
The list of instances for the cluster and given filters.
|
ListInstancesResult |
withMarker(String marker)
The pagination token is a random string indicating whether there are
more results to fetch.
|
public List<Instance> getInstances()
public void setInstances(Collection<Instance> instances)
instances
- The list of instances for the cluster and given filters.public ListInstancesResult withInstances(Instance... instances)
Returns a reference to this object so that method calls can be chained together.
instances
- The list of instances for the cluster and given filters.public ListInstancesResult withInstances(Collection<Instance> instances)
Returns a reference to this object so that method calls can be chained together.
instances
- The list of instances for the cluster and given filters.public String getMarker()
public void setMarker(String marker)
marker
- The pagination token is a random string indicating whether there are
more results to fetch. Use the pagination token in later API calls to
retrieve the next page of results. When the value is null, all results
have been returned.public ListInstancesResult withMarker(String marker)
Returns a reference to this object so that method calls can be chained together.
marker
- The pagination token is a random string indicating whether there are
more results to fetch. Use the pagination token in later API calls to
retrieve the next page of results. When the value is null, all results
have been returned.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.