public class RunInstancesResult
extends java.lang.Object
implements java.io.Serializable
The result of calling the RunInstancesResult, contains the new reservation created by Amazon EC2.
| コンストラクタと説明 |
|---|
RunInstancesResult() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.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.
|
java.lang.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object