public class DescribeInstancesResult extends Object implements Serializable
Contains the response to a DescribeInstances request.
| Constructor and Description |
|---|
DescribeInstancesResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<Instance> |
getInstances()
An array of
Instance objects that describe the instances. |
int |
hashCode() |
void |
setInstances(Collection<Instance> instances)
An array of
Instance objects that describe the instances. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeInstancesResult |
withInstances(Collection<Instance> instances)
An array of
Instance objects that describe the instances. |
DescribeInstancesResult |
withInstances(Instance... instances)
An array of
Instance objects that describe the instances. |
public List<Instance> getInstances()
Instance objects that describe the instances.Instance objects that describe the instances.public void setInstances(Collection<Instance> instances)
Instance objects that describe the instances.instances - An array of Instance objects that describe the instances.public DescribeInstancesResult withInstances(Instance... instances)
Instance objects that describe the instances.
Returns a reference to this object so that method calls can be chained together.
instances - An array of Instance objects that describe the instances.public DescribeInstancesResult withInstances(Collection<Instance> instances)
Instance objects that describe the instances.
Returns a reference to this object so that method calls can be chained together.
instances - An array of Instance objects that describe the instances.public String toString()
toString in class ObjectObject.toString()Copyright © 2014. All rights reserved.