org.jclouds.cloudstack.domain
Class ISOExtraction

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

public class ISOExtraction
extends Object
implements Comparable<ISOExtraction>

Author:
Richard Downer

Nested Class Summary
static class ISOExtraction.Builder
           
 
Method Summary
static ISOExtraction.Builder builder()
           
 int compareTo(ISOExtraction other)
           
 boolean equals(Object o)
           
 long getAccountId()
           
 Date getCreated()
           
 long getExtractId()
           
 ExtractMode getExtractMode()
           
 long getId()
           
 String getName()
           
 String getState()
           
 String getStatus()
           
 String getStorageType()
           
 int getUploadPercentage()
           
 String getUrl()
           
 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 ISOExtraction.Builder builder()

getId

public long getId()
Returns:
the id of extracted object

getAccountId

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

getCreated

public Date getCreated()
Returns:
the time and date the object was created

getExtractId

public long getExtractId()
Returns:
the upload id of extracted object

getExtractMode

public ExtractMode getExtractMode()
Returns:
the mode of extraction - upload or download

getName

public String getName()
Returns:
the name of the extracted object

getState

public String getState()
Returns:
the state of the extracted object

getStatus

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

getStorageType

public String getStorageType()
Returns:
type of the storage

getUploadPercentage

public int getUploadPercentage()
Returns:
the percentage of the entity uploaded to the specified location

getUrl

public String getUrl()
Returns:
if mode = upload then url of the uploaded entity. if mode = download the url from which the entity can be downloaded

getZoneId

public long getZoneId()
Returns:
zone ID the object was extracted from

getZoneName

public String getZoneName()
Returns:
zone name the object was extracted from

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(ISOExtraction other)
Specified by:
compareTo in interface Comparable<ISOExtraction>


Copyright © 2009-2012 jclouds. All Rights Reserved.