public abstract static class ProductOrder.Builder<T extends ProductOrder.Builder<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
location |
protected int |
packageId |
protected Set<ProductItemPrice> |
prices |
protected int |
quantity |
protected boolean |
useHourlyPricing |
protected Set<VirtualGuest> |
virtualGuests |
Constructor and Description |
---|
ProductOrder.Builder() |
Modifier and Type | Method and Description |
---|---|
ProductOrder |
build() |
T |
fromProductOrder(ProductOrder in) |
T |
location(String location) |
T |
packageId(int packageId) |
T |
prices(Iterable<ProductItemPrice> prices) |
T |
prices(ProductItemPrice... in) |
T |
quantity(int quantity) |
protected abstract T |
self() |
T |
useHourlyPricing(boolean useHourlyPricing) |
T |
virtualGuests(Set<VirtualGuest> virtualGuests) |
T |
virtualGuests(VirtualGuest... in) |
protected int packageId
protected String location
protected Set<ProductItemPrice> prices
protected Set<VirtualGuest> virtualGuests
protected int quantity
protected boolean useHourlyPricing
protected abstract T self()
public T packageId(int packageId)
ProductOrder.getPackageId()
public T location(String location)
ProductOrder.getLocation()
public T prices(Iterable<ProductItemPrice> prices)
ProductOrder.getPrices()
public T prices(ProductItemPrice... in)
public T virtualGuests(Set<VirtualGuest> virtualGuests)
ProductOrder.getVirtualGuests()
public T virtualGuests(VirtualGuest... in)
public T quantity(int quantity)
ProductOrder.getQuantity()
public T useHourlyPricing(boolean useHourlyPricing)
ProductOrder.getUseHourlyPricing()
public ProductOrder build()
public T fromProductOrder(ProductOrder in)
Copyright © 2009-2013 jclouds. All Rights Reserved.