Package org.jclouds.cloudstack.domain
Class DiskOffering
- java.lang.Object
-
- org.jclouds.cloudstack.domain.DiskOffering
-
- All Implemented Interfaces:
Comparable<DiskOffering>
public class DiskOffering extends Object implements Comparable<DiskOffering>
Class DiskOffering
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDiskOffering.Builder<T extends DiskOffering.Builder<T>>
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DiskOffering.Builder<?>builder()intcompareTo(DiskOffering other)booleanequals(Object obj)DategetCreated()intgetDiskSize()StringgetDisplayText()StringgetDomain()StringgetDomainId()StringgetId()StringgetName()Set<String>getTags()inthashCode()booleanisCustomized()protected com.google.common.base.MoreObjects.ToStringHelperstring()DiskOffering.Builder<?>toBuilder()StringtoString()
-
-
-
Constructor Detail
-
DiskOffering
@ConstructorProperties({"id","name","displaytext","created","domain","domainid","disksize","iscustomized","tags"}) protected DiskOffering(String id, @Nullable String name, @Nullable String displayText, @Nullable Date created, @Nullable String domain, @Nullable String domainId, int diskSize, boolean customized, @Nullable Iterable<String> tags)
-
-
Method Detail
-
builder
public static DiskOffering.Builder<?> builder()
-
toBuilder
public DiskOffering.Builder<?> toBuilder()
-
getId
public String getId()
- Returns:
- the id of the disk offering
-
getDisplayText
@Nullable public String getDisplayText()
- Returns:
- an alternate display text of the disk offering.
-
getDiskSize
public int getDiskSize()
- Returns:
- the size of the disk offering in GB
-
isCustomized
public boolean isCustomized()
- Returns:
- the ha support in the disk offering
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
compareTo
public int compareTo(DiskOffering other)
- Specified by:
compareToin interfaceComparable<DiskOffering>
-
-