Package org.jclouds.cloudstack.domain
Class DiskOffering
java.lang.Object
org.jclouds.cloudstack.domain.DiskOffering
- All Implemented Interfaces:
Comparable<DiskOffering>
Class DiskOffering
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDiskOffering.Builder<T extends DiskOffering.Builder<T>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DiskOffering.Builder<?> builder()intcompareTo(DiskOffering other) booleanintgetId()getName()getTags()inthashCode()booleanprotected com.google.common.base.MoreObjects.ToStringHelperstring()toString()
-
Constructor Details
-
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 Details
-
builder
-
toBuilder
-
getId
- Returns:
- the id of the disk offering
-
getName
- Returns:
- the name of the disk offering
-
getDisplayText
- Returns:
- an alternate display text of the disk offering.
-
getCreated
- Returns:
- the date this disk offering was created
-
getDomain
- Returns:
- Domain name for the offering
-
getDomainId
- Returns:
- the domain id 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
-
getTags
- Returns:
- the tags for the disk offering
-
hashCode
public int hashCode() -
equals
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string() -
toString
-
compareTo
- Specified by:
compareToin interfaceComparable<DiskOffering>
-