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 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)
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 Object
Object.toString()
Copyright © 2014. All rights reserved.