public class ListInstancesResult extends Object implements Serializable, Cloneable
This output contains the list of instances.
| Constructor and Description | 
|---|
| ListInstancesResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| ListInstancesResult | clone() | 
| boolean | equals(Object obj) | 
| List<Instance> | getInstances()The list of instances for the cluster and given filters. | 
| String | getMarker()The pagination token that indicates the next set of results to
 retrieve. | 
| int | hashCode() | 
| void | setInstances(Collection<Instance> instances)The list of instances 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; 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 that indicates the next set of results to
 retrieve. | 
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)
 NOTE: This method appends the values to the existing list (if
 any). Use setInstances(java.util.Collection) or withInstances(java.util.Collection) if you want to override the
 existing values.
 
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 that indicates the next set of results to
         retrieve.public ListInstancesResult withMarker(String marker)
Returns a reference to this object so that method calls can be chained together.
marker - The pagination token that indicates the next set of results to
         retrieve.public String toString()
toString in class ObjectObject.toString()public ListInstancesResult clone()
Copyright © 2015. All rights reserved.