public class Package extends Object implements Comparable<Package>
Modifier and Type | Class and Description |
---|---|
static class |
Package.Builder |
Modifier and Type | Field and Description |
---|---|
protected int |
diskSizeGb |
protected boolean |
isDefault |
protected int |
memorySizeMb |
protected String |
name |
protected int |
swapSizeMb |
Constructor and Description |
---|
Package(String name,
int memorySizeMb,
int diskSizeGb,
int swapSizeMb,
boolean isDefault) |
Modifier and Type | Method and Description |
---|---|
static Package.Builder |
builder() |
int |
compareTo(Package other) |
boolean |
equals(Object object) |
int |
getDiskSizeGb() |
int |
getMemorySizeMb() |
String |
getName() |
int |
getSwapSizeMb() |
int |
hashCode() |
boolean |
isDefault() |
String |
toString() |
protected final String name
protected final int memorySizeMb
protected final int diskSizeGb
protected final int swapSizeMb
protected final boolean isDefault
public Package(String name, int memorySizeMb, int diskSizeGb, int swapSizeMb, boolean isDefault)
public static Package.Builder builder()
public int compareTo(Package other)
compareTo
in interface Comparable<Package>
public String getName()
public int getMemorySizeMb()
public int getDiskSizeGb()
public int getSwapSizeMb()
public boolean isDefault()
Copyright © 2009-2012 jclouds. All Rights Reserved.