public class Reservation<T extends RunningInstance> extends LinkedHashSet<T> implements Comparable<Reservation<T>>, Set<T>
Constructor and Description |
---|
Reservation(String region,
Iterable<String> groupIds,
Iterable<T> instances,
String ownerId,
String requesterId,
String reservationId) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Reservation<T> o) |
boolean |
equals(Object obj) |
Set<String> |
getGroupIds()
Names of the security groups.
|
String |
getOwnerId()
AWS Access Key ID of the user who owns the reservation.
|
String |
getRegion()
Instances are tied to Availability Zones.
|
String |
getRequesterId()
ID of the requester.
|
String |
getReservationId()
Unique ID of the reservation.
|
int |
hashCode() |
add, clear, clone, contains, isEmpty, iterator, remove, size
removeAll
addAll, containsAll, retainAll, toArray, toArray, toString
public String getRegion()
public int compareTo(Reservation<T> o)
compareTo
in interface Comparable<Reservation<T extends RunningInstance>>
public String getOwnerId()
public String getRequesterId()
public String getReservationId()
public int hashCode()
hashCode
in interface Collection<T extends RunningInstance>
hashCode
in interface Set<T extends RunningInstance>
hashCode
in class AbstractSet<T extends RunningInstance>
public boolean equals(Object obj)
equals
in interface Collection<T extends RunningInstance>
equals
in interface Set<T extends RunningInstance>
equals
in class AbstractSet<T extends RunningInstance>
Copyright © 2009-2012 jclouds. All Rights Reserved.