public static class Reservation.Builder<T extends RunningInstance> extends Object
Constructor and Description |
---|
Reservation.Builder() |
Modifier and Type | Method and 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) |
public Reservation.Builder<T> region(String region)
Reservation.getRegion()
public Reservation.Builder<T> ownerId(String ownerId)
Reservation.getOwnerId()
public Reservation.Builder<T> requesterId(String requesterId)
Reservation.getRequesterId()
public Reservation.Builder<T> reservationId(String reservationId)
Reservation.getReservationId()
public Reservation.Builder<T> instance(T instance)
ForwardingCollection.iterator()
public Reservation.Builder<T> instances(Set<T> instances)
ForwardingCollection.iterator()
public Reservation.Builder<T> groupName(String groupName)
Reservation.getGroupNames()
public Reservation.Builder<T> groupNames(Iterable<String> groupNames)
Reservation.getGroupNames()
public Reservation<T> build()
public Reservation.Builder<T> fromReservation(Reservation<T> in)
Copyright © 2009-2013 jclouds. All Rights Reserved.