Package org.jclouds.ec2.domain
Class Reservation<T extends RunningInstance>
java.lang.Object
com.google.common.collect.ForwardingObject
com.google.common.collect.ForwardingCollection<T>
com.google.common.collect.ForwardingSet<T>
org.jclouds.ec2.domain.Reservation<T>
- All Implemented Interfaces:
Comparable<Reservation<T>>
,Iterable<T>
,Collection<T>
,Set<T>
public class Reservation<T extends RunningInstance>
extends com.google.common.collect.ForwardingSet<T>
implements Comparable<Reservation<T>>
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends RunningInstance>
Reservation.Builder<T> builder()
int
compareTo
(Reservation<T> other) delegate()
boolean
Names of the security groups.AWS Access Key ID of the user who owns the reservation.Deprecated.The ID of the requester that launched the instances on your behalf (for example, AWS Management Console or Auto Scaling).Unique ID of the reservation.int
hashCode()
toString()
Methods inherited from class com.google.common.collect.ForwardingSet
standardEquals, standardHashCode, standardRemoveAll
Methods inherited from class com.google.common.collect.ForwardingCollection
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, standardAddAll, standardClear, standardContains, standardContainsAll, standardIsEmpty, standardRemove, standardRetainAll, standardToArray, standardToArray, standardToString, toArray, toArray
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
Reservation
-
-
Method Details
-
builder
-
toBuilder
-
delegate
- Specified by:
delegate
in classcom.google.common.collect.ForwardingSet<T extends RunningInstance>
-
getRegion
Deprecated.To be removed in jclouds 1.6Warning
Especially on EC2 clones that may not support regions, this value is fragile. Consider alternate means to determine context. -
getGroupNames
Names of the security groups. -
getOwnerId
AWS Access Key ID of the user who owns the reservation. -
getRequesterId
The ID of the requester that launched the instances on your behalf (for example, AWS Management Console or Auto Scaling). -
getReservationId
Unique ID of the reservation. -
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceCollection<T extends RunningInstance>
- Specified by:
hashCode
in interfaceSet<T extends RunningInstance>
- Overrides:
hashCode
in classcom.google.common.collect.ForwardingSet<T extends RunningInstance>
-
equals
- Specified by:
equals
in interfaceCollection<T extends RunningInstance>
- Specified by:
equals
in interfaceSet<T extends RunningInstance>
- Overrides:
equals
in classcom.google.common.collect.ForwardingSet<T extends RunningInstance>
-
toString
- Overrides:
toString
in classcom.google.common.collect.ForwardingObject
-
compareTo
- Specified by:
compareTo
in interfaceComparable<T extends RunningInstance>
-