public class Reservation extends Object implements Serializable
Constructor and Description |
---|
Reservation() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<String> |
getGroupNames()
One or more security group names.
|
List<GroupIdentifier> |
getGroups()
[EC2-Classic only] One or more security groups.
|
List<Instance> |
getInstances()
One or more instances.
|
String |
getOwnerId()
The ID of the AWS account that owns the reservation.
|
String |
getRequesterId()
The ID of the requester that launched the instances on your behalf (for example, AWS Management Console or Auto
Scaling).
|
String |
getReservationId()
The ID of the reservation.
|
int |
hashCode() |
void |
setGroupNames(Collection<String> groupNames)
One or more security group names.
|
void |
setGroups(Collection<GroupIdentifier> groups)
[EC2-Classic only] One or more security groups.
|
void |
setInstances(Collection<Instance> instances)
One or more instances.
|
void |
setOwnerId(String ownerId)
The ID of the AWS account that owns the reservation.
|
void |
setRequesterId(String requesterId)
The ID of the requester that launched the instances on your behalf (for example, AWS Management Console or Auto
Scaling).
|
void |
setReservationId(String reservationId)
The ID of the reservation.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
public void setReservationId(String reservationId)
The ID of the reservation.
reservationId
- The ID of the reservation.public String getReservationId()
The ID of the reservation.
public void setOwnerId(String ownerId)
The ID of the AWS account that owns the reservation.
ownerId
- The ID of the AWS account that owns the reservation.public String getOwnerId()
The ID of the AWS account that owns the reservation.
public void setRequesterId(String requesterId)
The ID of the requester that launched the instances on your behalf (for example, AWS Management Console or Auto Scaling).
requesterId
- The ID of the requester that launched the instances on your behalf (for example, AWS Management Console or
Auto Scaling).public String getRequesterId()
The ID of the requester that launched the instances on your behalf (for example, AWS Management Console or Auto Scaling).
public List<GroupIdentifier> getGroups()
[EC2-Classic only] One or more security groups.
public void setGroups(Collection<GroupIdentifier> groups)
[EC2-Classic only] One or more security groups.
groups
- [EC2-Classic only] One or more security groups.public List<Instance> getInstances()
One or more instances.
public void setInstances(Collection<Instance> instances)
One or more instances.
instances
- One or more instances.public List<String> getGroupNames()
One or more security group names.
public void setGroupNames(Collection<String> groupNames)
One or more security group names.
groupNames
- One or more security group names.public String toString()
toString
in class Object
Object.toString()
Copyright © 2010–2020. All rights reserved.