public class DescribeInstancesResult
extends java.lang.Object
implements java.io.Serializable
The result of describing Amazon EC2 instances.
| コンストラクタと説明 |
|---|
DescribeInstancesResult() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<Reservation> |
getReservations()
The list of reservations containing the describes instances.
|
int |
hashCode() |
void |
setReservations(java.util.Collection<Reservation> reservations)
The list of reservations containing the describes instances.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeInstancesResult |
withReservations(java.util.Collection<Reservation> reservations)
The list of reservations containing the describes instances.
|
DescribeInstancesResult |
withReservations(Reservation... reservations)
The list of reservations containing the describes instances.
|
public java.util.List<Reservation> getReservations()
public void setReservations(java.util.Collection<Reservation> reservations)
reservations - The list of reservations containing the describes instances.public DescribeInstancesResult withReservations(Reservation... reservations)
Returns a reference to this object so that method calls can be chained together.
reservations - The list of reservations containing the describes instances.public DescribeInstancesResult withReservations(java.util.Collection<Reservation> reservations)
Returns a reference to this object so that method calls can be chained together.
reservations - The list of reservations containing the describes 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