public class ProductPackage extends Object implements Comparable<ProductPackage>
Modifier and Type | Class and Description |
---|---|
static class |
ProductPackage.Builder |
Constructor and Description |
---|
ProductPackage(int id,
String name,
String description,
Iterable<ProductItem> items,
Iterable<Datacenter> datacenters) |
Modifier and Type | Method and Description |
---|---|
static ProductPackage.Builder |
builder() |
int |
compareTo(ProductPackage arg0) |
boolean |
equals(Object obj) |
Set<Datacenter> |
getDatacenters() |
String |
getDescription() |
int |
getId() |
Set<ProductItem> |
getItems() |
String |
getName() |
int |
hashCode() |
ProductPackage.Builder |
toBuilder() |
String |
toString() |
public ProductPackage(int id, String name, String description, Iterable<ProductItem> items, Iterable<Datacenter> datacenters)
public static ProductPackage.Builder builder()
public int compareTo(ProductPackage arg0)
compareTo
in interface Comparable<ProductPackage>
public int getId()
public String getName()
public String getDescription()
public Set<ProductItem> getItems()
public Set<Datacenter> getDatacenters()
public ProductPackage.Builder toBuilder()
Copyright © 2009-2012 jclouds. All Rights Reserved.