public class RunInstancesResult
extends java.lang.Object
implements java.io.Serializable
Contains the output of RunInstances.
Constructor and Description |
---|
RunInstancesResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
Reservation |
getReservation()
Zero or more reservations.
|
int |
hashCode() |
void |
setReservation(Reservation reservation)
Zero or more reservations.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RunInstancesResult |
withReservation(Reservation reservation)
Zero or more reservations.
|
public Reservation getReservation()
public void setReservation(Reservation reservation)
reservation
- Zero or more reservations.public RunInstancesResult withReservation(Reservation reservation)
Returns a reference to this object so that method calls can be chained together.
reservation
- Zero or more reservations.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.