public class RunInstancesResult extends Object implements Serializable
The result of the RunInstances call.
Constructor and Description |
---|
RunInstancesResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Reservation |
getReservation()
One or more reservations.
|
int |
hashCode() |
void |
setReservation(Reservation reservation)
One or more reservations.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RunInstancesResult |
withReservation(Reservation reservation)
One or more reservations.
|
public Reservation getReservation()
public void setReservation(Reservation reservation)
reservation
- One or more reservations.public RunInstancesResult withReservation(Reservation reservation)
Returns a reference to this object so that method calls can be chained together.
reservation
- One or more reservations.public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.