Package org.jclouds.ec2.domain
Class Reservation.Builder<T extends RunningInstance>
- java.lang.Object
-
- org.jclouds.ec2.domain.Reservation.Builder<T>
-
- Enclosing class:
- Reservation<T extends RunningInstance>
public static class Reservation.Builder<T extends RunningInstance> extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Reservation<T>
build()
Reservation.Builder<T>
fromReservation(Reservation<T> in)
Reservation.Builder<T>
groupName(String groupName)
Reservation.Builder<T>
groupNames(Iterable<String> groupNames)
Reservation.Builder<T>
instance(T instance)
Reservation.Builder<T>
instances(Set<T> instances)
Reservation.Builder<T>
ownerId(String ownerId)
Reservation.Builder<T>
region(String region)
Reservation.Builder<T>
requesterId(String requesterId)
Reservation.Builder<T>
reservationId(String reservationId)
-
-
-
Method Detail
-
region
public Reservation.Builder<T> region(String region)
- See Also:
Reservation.getRegion()
-
ownerId
public Reservation.Builder<T> ownerId(String ownerId)
- See Also:
Reservation.getOwnerId()
-
requesterId
public Reservation.Builder<T> requesterId(String requesterId)
- See Also:
Reservation.getRequesterId()
-
reservationId
public Reservation.Builder<T> reservationId(String reservationId)
- See Also:
Reservation.getReservationId()
-
instance
public Reservation.Builder<T> instance(T instance)
- See Also:
ForwardingCollection.iterator()
-
instances
public Reservation.Builder<T> instances(Set<T> instances)
- See Also:
ForwardingCollection.iterator()
-
groupName
public Reservation.Builder<T> groupName(String groupName)
- See Also:
Reservation.getGroupNames()
-
groupNames
public Reservation.Builder<T> groupNames(Iterable<String> groupNames)
- See Also:
Reservation.getGroupNames()
-
build
public Reservation<T> build()
-
fromReservation
public Reservation.Builder<T> fromReservation(Reservation<T> in)
-
-