public static class ProductItem.Builder extends Object
Constructor and Description |
---|
ProductItem.Builder() |
Modifier and Type | Method and Description |
---|---|
ProductItem |
build() |
ProductItem.Builder |
capacity(Float capacity) |
ProductItem.Builder |
categories(Iterable<ProductItemCategory> categories) |
ProductItem.Builder |
category(ProductItemCategory categories) |
ProductItem.Builder |
description(String description) |
static ProductItem.Builder |
fromProductItem(ProductItem in) |
ProductItem.Builder |
id(int id) |
ProductItem.Builder |
price(ProductItemPrice prices) |
ProductItem.Builder |
prices(Iterable<ProductItemPrice> prices) |
ProductItem.Builder |
units(String units) |
public ProductItem.Builder id(int id)
public ProductItem.Builder description(String description)
public ProductItem.Builder units(String units)
public ProductItem.Builder capacity(Float capacity)
public ProductItem.Builder price(ProductItemPrice prices)
public ProductItem.Builder prices(Iterable<ProductItemPrice> prices)
public ProductItem.Builder category(ProductItemCategory categories)
public ProductItem.Builder categories(Iterable<ProductItemCategory> categories)
public ProductItem build()
public static ProductItem.Builder fromProductItem(ProductItem in)
Copyright © 2009-2012 jclouds. All Rights Reserved.