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>
- Author:
- Adrian Cole
DiskOffering
public DiskOffering(long id,
String name,
String displayText,
Date created,
String domain,
long domainId,
int diskSize,
boolean customized,
Set<String> tags)
builder
public static DiskOffering.Builder builder()
getId
public long getId()
- Returns:
- the id of the disk offering
getName
public String getName()
- Returns:
- the name of the disk offering
getDisplayText
public String getDisplayText()
- Returns:
- an alternate display text of the disk offering.
getCreated
public Date getCreated()
- Returns:
- the date this disk offering was created
getDomain
public String getDomain()
- Returns:
- Domain name for the offering
getDomainId
public long 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
toString
public String toString()
- Overrides:
toString
in class Object
compareTo
public int compareTo(DiskOffering arg0)
- Specified by:
compareTo
in interface Comparable<DiskOffering>
Copyright © 2009-2012 jclouds. All Rights Reserved.