org.jclouds.cloudstack.domain
Class ISOExtraction

java.lang.Object
  extended by org.jclouds.cloudstack.domain.ISOExtraction

public class ISOExtraction
extends Object

Class ISOExtraction

Author:
Richard Downer

Nested Class Summary
static class ISOExtraction.Builder<T extends ISOExtraction.Builder<T>>
           
 
Constructor Summary
protected ISOExtraction(String id, String accountId, Date created, String extractId, ExtractMode extractMode, String name, String state, String status, String storageType, int uploadPercentage, String url, String zoneId, String zoneName)
           
 
Method Summary
static ISOExtraction.Builder<?> builder()
           
 boolean equals(Object obj)
           
 String getAccountId()
           
 Date getCreated()
           
 String getExtractId()
           
 ExtractMode getExtractMode()
           
 String getId()
           
 String getName()
           
 String getState()
           
 String getStatus()
           
 String getStorageType()
           
 int getUploadPercentage()
           
 String getUrl()
           
 String getZoneId()
           
 String getZoneName()
           
 int hashCode()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 ISOExtraction.Builder<?> toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ISOExtraction

@ConstructorProperties(value={"id","accountid","created","extractId","extractMode","name","state","status","storagetype","uploadpercentage","url","zoneid","zonename"})
protected ISOExtraction(String id,
                                                   @Nullable
                                                   String accountId,
                                                   @Nullable
                                                   Date created,
                                                   @Nullable
                                                   String extractId,
                                                   @Nullable
                                                   ExtractMode extractMode,
                                                   @Nullable
                                                   String name,
                                                   @Nullable
                                                   String state,
                                                   @Nullable
                                                   String status,
                                                   @Nullable
                                                   String storageType,
                                                   int uploadPercentage,
                                                   @Nullable
                                                   String url,
                                                   @Nullable
                                                   String zoneId,
                                                   @Nullable
                                                   String zoneName)
Method Detail

builder

public static ISOExtraction.Builder<?> builder()

toBuilder

public ISOExtraction.Builder<?> toBuilder()

getId

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

getAccountId

@Nullable
public String getAccountId()
Returns:
the account id to which the extracted object belongs

getCreated

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

getExtractId

@Nullable
public String getExtractId()
Returns:
the upload id of extracted object

getExtractMode

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

getName

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

getState

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

getStatus

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

getStorageType

@Nullable
public String getStorageType()
Returns:
type of the storage

getUploadPercentage

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

getUrl

@Nullable
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

@Nullable
public String getZoneId()
Returns:
zone ID the object was extracted from

getZoneName

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

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


Copyright © 2009-2013 jclouds. All Rights Reserved.