public class Reservation<T extends RunningInstance> extends com.google.common.collect.ForwardingSet<T> implements Comparable<Reservation<T>>
Modifier and Type | Class and Description |
---|---|
static class |
Reservation.Builder<T extends RunningInstance> |
Constructor and Description |
---|
Reservation(String region,
Iterable<String> groupNames,
Iterable<T> instances,
String ownerId,
String requesterId,
String reservationId) |
Modifier and Type | Method and Description |
---|---|
static <T extends RunningInstance> |
builder() |
int |
compareTo(Reservation<T> other) |
protected Set<T> |
delegate() |
boolean |
equals(Object obj) |
Set<String> |
getGroupNames()
Names of the security groups.
|
String |
getOwnerId()
AWS Access Key ID of the user who owns the reservation.
|
String |
getRegion()
Deprecated.
|
String |
getRequesterId()
The ID of the requester that launched the instances on your behalf (for example, AWS
Management Console or Auto Scaling).
|
String |
getReservationId()
Unique ID of the reservation.
|
int |
hashCode() |
Reservation.Builder<T> |
toBuilder() |
String |
toString() |
standardEquals, standardHashCode, standardRemoveAll
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, standardAddAll, standardClear, standardContains, standardContainsAll, standardIsEmpty, standardRemove, standardRetainAll, standardToArray, standardToArray, standardToString, toArray, toArray
public static <T extends RunningInstance> Reservation.Builder<T> builder()
public Reservation.Builder<T> toBuilder()
protected Set<T> delegate()
delegate
in class com.google.common.collect.ForwardingSet<T extends RunningInstance>
@Deprecated public String getRegion()
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 com.google.common.collect.ForwardingSet<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 com.google.common.collect.ForwardingSet<T extends RunningInstance>
public String toString()
toString
in class com.google.common.collect.ForwardingObject
public int compareTo(Reservation<T> other)
compareTo
in interface Comparable<Reservation<T extends RunningInstance>>
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.