|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.RunInstancesResult
public class RunInstancesResult
The result of calling the RunInstancesResult, contains the new reservation created by Amazon EC2.
Constructor Summary | |
---|---|
RunInstancesResult()
|
Method Summary | |
---|---|
Reservation |
getReservation()
The newly created reservation, containing the new instances. |
void |
setReservation(Reservation reservation)
The newly created reservation, containing the new instances. |
String |
toString()
|
RunInstancesResult |
withReservation(Reservation reservation)
The newly created reservation, containing the new instances. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RunInstancesResult()
Method Detail |
---|
public Reservation getReservation()
public void setReservation(Reservation reservation)
reservation
- The newly created reservation, containing the new instances.public RunInstancesResult withReservation(Reservation reservation)
Returns a reference to this object so that method calls can be chained together.
reservation
- The newly created reservation, containing the new instances.
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |