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()intcompareTo(Reservation<T> other) delegate()booleanNames 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.inthashCode()toString()Methods inherited from class com.google.common.collect.ForwardingSet
standardEquals, standardHashCode, standardRemoveAllMethods 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, toArrayMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
Reservation
-
-
Method Details
-
builder
-
toBuilder
-
delegate
- Specified by:
delegatein 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:
hashCodein interfaceCollection<T extends RunningInstance>- Specified by:
hashCodein interfaceSet<T extends RunningInstance>- Overrides:
hashCodein classcom.google.common.collect.ForwardingSet<T extends RunningInstance>
-
equals
- Specified by:
equalsin interfaceCollection<T extends RunningInstance>- Specified by:
equalsin interfaceSet<T extends RunningInstance>- Overrides:
equalsin classcom.google.common.collect.ForwardingSet<T extends RunningInstance>
-
toString
- Overrides:
toStringin classcom.google.common.collect.ForwardingObject
-
compareTo
- Specified by:
compareToin interfaceComparable<T extends RunningInstance>
-