org.jclouds.cloudstack.domain
Class DiskOffering

java.lang.Object
  extended by org.jclouds.cloudstack.domain.DiskOffering
All Implemented Interfaces:
Comparable<DiskOffering>

public class DiskOffering
extends Object
implements Comparable<DiskOffering>

Author:
Adrian Cole

Nested Class Summary
static class DiskOffering.Builder
           
 
Constructor Summary
DiskOffering(long id, String name, String displayText, Date created, String domain, long domainId, int diskSize, boolean customized, Set<String> tags)
           
 
Method Summary
static DiskOffering.Builder builder()
           
 int compareTo(DiskOffering arg0)
           
 boolean equals(Object obj)
           
 Date getCreated()
           
 int getDiskSize()
           
 String getDisplayText()
           
 String getDomain()
           
 long getDomainId()
           
 long getId()
           
 String getName()
           
 Set<String> getTags()
           
 int hashCode()
           
 boolean isCustomized()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DiskOffering

public DiskOffering(long id,
                    String name,
                    String displayText,
                    Date created,
                    String domain,
                    long domainId,
                    int diskSize,
                    boolean customized,
                    Set<String> tags)
Method Detail

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.