public class RunInstancesResult extends Object implements Serializable
The result of calling the RunInstancesResult, contains the new reservation created by Amazon EC2.
Constructor and Description |
---|
RunInstancesResult() |
Modifier and Type | Method and Description |
---|---|
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.
|
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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.