org.jclouds.cloudstack.domain
Class ISO

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

public class ISO
extends Object
implements Comparable<ISO>

Author:
Richard Downer

Nested Class Summary
static class ISO.Builder
           
static class ISO.ISOFilter
           
 
Method Summary
static ISO.Builder builder()
           
 int compareTo(ISO other)
           
 boolean equals(Object o)
           
 String getAccount()
           
 long getAccountId()
           
 boolean getBootable()
           
 String getChecksum()
           
 Date getCreated()
           
 boolean getCrossZones()
           
 String getDisplayText()
           
 String getDomain()
           
 long getDomainid()
           
 String getFormat()
           
 long getHostId()
           
 String getHostName()
           
 String getHypervisor()
           
 long getId()
           
 boolean getIsExtractable()
           
 boolean getIsFeatured()
           
 boolean getIsPublic()
           
 boolean getIsReady()
           
 long getJobId()
           
 String getJobStatus()
           
 String getName()
           
 long getOsTypeId()
           
 String getOsTypeName()
           
 boolean getPasswordEnabled()
           
 Date getRemoved()
           
 long getSize()
           
 long getSourceTemplateId()
           
 String getStatus()
           
 String getTemplateTag()
           
 String getTemplateType()
           
 long getZoneId()
           
 String getZoneName()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

builder

public static ISO.Builder builder()

getId

public long getId()
Returns:
the template ID

getAccount

public String getAccount()
Returns:
the account name to which the template belongs

getAccountId

public long getAccountId()
Returns:
the account id to which the template belongs

getBootable

public boolean getBootable()
Returns:
true if the ISO is bootable, false otherwise

getChecksum

public String getChecksum()
Returns:
checksum of the template

getCreated

public Date getCreated()
Returns:
the date this template was created

getCrossZones

public boolean getCrossZones()
Returns:
true if the template is managed across all Zones, false otherwise

getDisplayText

public String getDisplayText()
Returns:
the template display text

getDomain

public String getDomain()
Returns:
the name of the domain to which the template belongs

getDomainid

public long getDomainid()
Returns:
the ID of the domain to which the template belongs

getFormat

public String getFormat()
Returns:
the format of the template.

getHostId

public long getHostId()
Returns:
the ID of the secondary storage host for the template

getHostName

public String getHostName()
Returns:
the name of the secondary storage host for the template

getHypervisor

public String getHypervisor()
Returns:
the hypervisor on which the template runs

getIsExtractable

public boolean getIsExtractable()
Returns:
true if the template is extractable, false otherwise

getIsFeatured

public boolean getIsFeatured()
Returns:
true if this template is a featured template, false otherwise

getIsPublic

public boolean getIsPublic()
Returns:
true if this template is a public template, false otherwise

getIsReady

public boolean getIsReady()
Returns:
true if the template is ready to be deployed from, false otherwise.

getJobId

public long getJobId()
Returns:
shows the current pending asynchronous job ID. This tag is not returned if no current pending jobs are acting on the template

getJobStatus

public String getJobStatus()
Returns:
shows the current pending asynchronous job status

getName

public String getName()
Returns:
the template name

getOsTypeId

public long getOsTypeId()
Returns:
the ID of the OS type for this template.

getOsTypeName

public String getOsTypeName()
Returns:
the name of the OS type for this template.

getPasswordEnabled

public boolean getPasswordEnabled()
Returns:
true if the reset password feature is enabled, false otherwise

getRemoved

public Date getRemoved()
Returns:
the date this template was removed

getSize

public long getSize()
Returns:
the size of the template

getSourceTemplateId

public long getSourceTemplateId()
Returns:
the template ID of the parent template if present

getStatus

public String getStatus()
Returns:
the status of the template

getTemplateTag

public String getTemplateTag()
Returns:
the tag of this template

getTemplateType

public String getTemplateType()
Returns:
the type of the template

getZoneId

public long getZoneId()
Returns:
the ID of the zone for this template

getZoneName

public String getZoneName()
Returns:
the name of the zone for this template

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

compareTo

public int compareTo(ISO other)
Specified by:
compareTo in interface Comparable<ISO>


Copyright © 2009-2012 jclouds. All Rights Reserved.