|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.Reservation
public class Reservation
An Amazon EC2 reservation of requested EC2 instances.
Constructor Summary | |
---|---|
Reservation()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
List<String> |
getGroupNames()
The list of security groups requested for the instances in this reservation. |
List<GroupIdentifier> |
getGroups()
The list of security groups requested for the instances in this reservation. |
List<Instance> |
getInstances()
The list of Amazon EC2 instances included in this reservation. |
String |
getOwnerId()
The AWS Access Key ID of the user who owns the reservation. |
String |
getRequesterId()
The unique ID of the user who requested the instances in this reservation. |
String |
getReservationId()
The unique ID of this reservation. |
int |
hashCode()
|
void |
setGroupNames(Collection<String> groupNames)
The list of security groups requested for the instances in this reservation. |
void |
setGroups(Collection<GroupIdentifier> groups)
The list of security groups requested for the instances in this reservation. |
void |
setInstances(Collection<Instance> instances)
The list of Amazon EC2 instances included in this reservation. |
void |
setOwnerId(String ownerId)
The AWS Access Key ID of the user who owns the reservation. |
void |
setRequesterId(String requesterId)
The unique ID of the user who requested the instances in this reservation. |
void |
setReservationId(String reservationId)
The unique ID of this reservation. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Reservation |
withGroupNames(Collection<String> groupNames)
The list of security groups requested for the instances in this reservation. |
Reservation |
withGroupNames(String... groupNames)
The list of security groups requested for the instances in this reservation. |
Reservation |
withGroups(Collection<GroupIdentifier> groups)
The list of security groups requested for the instances in this reservation. |
Reservation |
withGroups(GroupIdentifier... groups)
The list of security groups requested for the instances in this reservation. |
Reservation |
withInstances(Collection<Instance> instances)
The list of Amazon EC2 instances included in this reservation. |
Reservation |
withInstances(Instance... instances)
The list of Amazon EC2 instances included in this reservation. |
Reservation |
withOwnerId(String ownerId)
The AWS Access Key ID of the user who owns the reservation. |
Reservation |
withRequesterId(String requesterId)
The unique ID of the user who requested the instances in this reservation. |
Reservation |
withReservationId(String reservationId)
The unique ID of this reservation. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Reservation()
Method Detail |
---|
public String getReservationId()
public void setReservationId(String reservationId)
reservationId
- The unique ID of this reservation.public Reservation withReservationId(String reservationId)
Returns a reference to this object so that method calls can be chained together.
reservationId
- The unique ID of this reservation.
public String getOwnerId()
public void setOwnerId(String ownerId)
ownerId
- The AWS Access Key ID of the user who owns the reservation.public Reservation withOwnerId(String ownerId)
Returns a reference to this object so that method calls can be chained together.
ownerId
- The AWS Access Key ID of the user who owns the reservation.
public String getRequesterId()
public void setRequesterId(String requesterId)
requesterId
- The unique ID of the user who requested the instances in this
reservation.public Reservation withRequesterId(String requesterId)
Returns a reference to this object so that method calls can be chained together.
requesterId
- The unique ID of the user who requested the instances in this
reservation.
public List<GroupIdentifier> getGroups()
public void setGroups(Collection<GroupIdentifier> groups)
groups
- The list of security groups requested for the instances in this
reservation.public Reservation withGroups(GroupIdentifier... groups)
Returns a reference to this object so that method calls can be chained together.
groups
- The list of security groups requested for the instances in this
reservation.
public Reservation withGroups(Collection<GroupIdentifier> groups)
Returns a reference to this object so that method calls can be chained together.
groups
- The list of security groups requested for the instances in this
reservation.
public List<String> getGroupNames()
public void setGroupNames(Collection<String> groupNames)
groupNames
- The list of security groups requested for the instances in this
reservation.public Reservation withGroupNames(String... groupNames)
Returns a reference to this object so that method calls can be chained together.
groupNames
- The list of security groups requested for the instances in this
reservation.
public Reservation withGroupNames(Collection<String> groupNames)
Returns a reference to this object so that method calls can be chained together.
groupNames
- The list of security groups requested for the instances in this
reservation.
public List<Instance> getInstances()
public void setInstances(Collection<Instance> instances)
instances
- The list of Amazon EC2 instances included in this reservation.public Reservation withInstances(Instance... instances)
Returns a reference to this object so that method calls can be chained together.
instances
- The list of Amazon EC2 instances included in this reservation.
public Reservation withInstances(Collection<Instance> instances)
Returns a reference to this object so that method calls can be chained together.
instances
- The list of Amazon EC2 instances included in this reservation.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |