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>

Class DiskOffering

Author:
Adrian Cole

Nested Class Summary
static class DiskOffering.Builder<T extends DiskOffering.Builder<T>>
           
 
Constructor Summary
protected DiskOffering(String id, String name, String displayText, Date created, String domain, String domainId, int diskSize, boolean customized, Iterable<String> tags)
           
 
Method Summary
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.Objects.ToStringHelper string()
           
 DiskOffering.Builder<?> toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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.