|
Did this page help you?Yes No Tell us about it... |
||||||
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 | |
---|---|
boolean |
equals(Object obj)
|
Reservation |
getReservation()
The newly created reservation, containing the new instances. |
int |
hashCode()
|
void |
setReservation(Reservation reservation)
The newly created reservation, containing the new instances. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
RunInstancesResult |
withReservation(Reservation reservation)
The newly created reservation, containing the new instances. |
Methods inherited from class java.lang.Object |
---|
getClass, 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
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |