|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.DescribeInstancesResult
public class DescribeInstancesResult
The result of describing Amazon EC2 instances.
Constructor Summary | |
---|---|
DescribeInstancesResult()
|
Method Summary | |
---|---|
List<Reservation> |
getReservations()
The list of reservations containing the describes instances. |
void |
setReservations(Collection<Reservation> reservations)
The list of reservations containing the describes instances. |
String |
toString()
|
DescribeInstancesResult |
withReservations(Collection<Reservation> reservations)
The list of reservations containing the describes instances. |
DescribeInstancesResult |
withReservations(Reservation... reservations)
The list of reservations containing the describes instances. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DescribeInstancesResult()
Method Detail |
---|
public List<Reservation> getReservations()
public void setReservations(Collection<Reservation> reservations)
reservations
- The list of reservations containing the describes instances.public DescribeInstancesResult withReservations(Reservation... reservations)
Returns a reference to this object so that method calls can be chained together.
reservations
- The list of reservations containing the describes instances.
public DescribeInstancesResult withReservations(Collection<Reservation> reservations)
Returns a reference to this object so that method calls can be chained together.
reservations
- The list of reservations containing the describes instances.
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |