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 class
DiskOffering.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()
int
compareTo(DiskOffering other)
boolean
equals(Object obj)
Date
getCreated()
int
getDiskSize()
String
getDisplayText()
String
getDomain()
String
getDomainId()
String
getId()
String
getName()
Set<String>
getTags()
int
hashCode()
boolean
isCustomized()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
DiskOffering.Builder<?>
toBuilder()
String
toString()
-
-
-
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:
compareTo
in interfaceComparable<DiskOffering>
-
-