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
- Author:
- Adrian Cole
DiskOffering
@ConstructorProperties(value={"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)
builder
public static DiskOffering.Builder<?> builder()
toBuilder
public DiskOffering.Builder<?> toBuilder()
getId
public String getId()
- Returns:
- the id of the disk offering
getName
@Nullable
public String getName()
- Returns:
- the name of the disk offering
getDisplayText
@Nullable
public String getDisplayText()
- Returns:
- an alternate display text of the disk offering.
getCreated
@Nullable
public Date getCreated()
- Returns:
- the date this disk offering was created
getDomain
@Nullable
public String getDomain()
- Returns:
- Domain name for the offering
getDomainId
@Nullable
public String 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
public Set<String> getTags()
- Returns:
- the tags for the disk offering
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
string
protected com.google.common.base.Objects.ToStringHelper string()
toString
public String toString()
- Overrides:
toString in class Object
compareTo
public int compareTo(DiskOffering other)
- Specified by:
compareTo in interface Comparable<DiskOffering>
Copyright © 2009-2013 jclouds. All Rights Reserved.