public class DescribeInstancesResult extends Object implements Serializable
| Constructor and Description |
|---|
DescribeInstancesResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use when requesting the next set of items.
|
List<Reservation> |
getReservations()
One or more reservations.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use when requesting the next set of items.
|
void |
setReservations(Collection<Reservation> reservations)
One or more reservations.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeInstancesResult |
withNextToken(String nextToken)
The token to use when requesting the next set of items.
|
DescribeInstancesResult |
withReservations(Collection<Reservation> reservations)
One or more reservations.
|
DescribeInstancesResult |
withReservations(Reservation... reservations)
One or more reservations.
|
public List<Reservation> getReservations()
public void setReservations(Collection<Reservation> reservations)
reservations - One or more reservations.public DescribeInstancesResult withReservations(Reservation... reservations)
Returns a reference to this object so that method calls can be chained together.
reservations - One or more reservations.public DescribeInstancesResult withReservations(Collection<Reservation> reservations)
Returns a reference to this object so that method calls can be chained together.
reservations - One or more reservations.public String getNextToken()
public void setNextToken(String nextToken)
nextToken - The token to use when requesting the next set of items. If there are
no additional items to return, the string is empty.public DescribeInstancesResult withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
nextToken - The token to use when requesting the next set of items. If there are
no additional items to return, the string is empty.public String toString()
toString in class ObjectObject.toString()Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.