org.jclouds.cloudstack.domain
Class ISOExtraction.Builder

java.lang.Object
  extended by org.jclouds.cloudstack.domain.ISOExtraction.Builder
Enclosing class:
ISOExtraction

public static class ISOExtraction.Builder
extends Object


Constructor Summary
ISOExtraction.Builder()
           
 
Method Summary
 ISOExtraction.Builder accountId(long accountId)
           
 ISOExtraction.Builder created(Date created)
           
 ISOExtraction.Builder extractId(long extractId)
           
 ISOExtraction.Builder extractMode(ExtractMode extractMode)
           
 ISOExtraction.Builder id(long id)
           
 ISOExtraction.Builder name(String name)
           
 ISOExtraction.Builder state(String state)
           
 ISOExtraction.Builder status(String status)
           
 ISOExtraction.Builder storageType(String storageType)
           
 ISOExtraction.Builder uploadPercentage(int uploadPercentage)
           
 ISOExtraction.Builder url(String url)
           
 ISOExtraction.Builder zoneId(long zoneId)
           
 ISOExtraction.Builder zoneName(String zoneName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ISOExtraction.Builder

public ISOExtraction.Builder()
Method Detail

id

public ISOExtraction.Builder id(long id)
Parameters:
id - the id of extracted object

accountId

public ISOExtraction.Builder accountId(long accountId)
Parameters:
accountId - the account id to which the extracted object belongs

created

public ISOExtraction.Builder created(Date created)
Parameters:
created - the time and date the object was created

extractId

public ISOExtraction.Builder extractId(long extractId)
Parameters:
extractId - the upload id of extracted object

extractMode

public ISOExtraction.Builder extractMode(ExtractMode extractMode)
Parameters:
extractMode - the mode of extraction - upload or download

name

public ISOExtraction.Builder name(String name)
Parameters:
name - the name of the extracted object

state

public ISOExtraction.Builder state(String state)
Parameters:
state - the state of the extracted object

status

public ISOExtraction.Builder status(String status)
Parameters:
status - the status of the extraction

storageType

public ISOExtraction.Builder storageType(String storageType)
Parameters:
storageType - type of the storage

uploadPercentage

public ISOExtraction.Builder uploadPercentage(int uploadPercentage)
Parameters:
uploadPercentage - the percentage of the entity uploaded to the specified location

url

public ISOExtraction.Builder url(String url)
Parameters:
url - if mode = upload then url of the uploaded entity. if mode = download the url from which the entity can be downloaded

zoneId

public ISOExtraction.Builder zoneId(long zoneId)
Parameters:
zoneId - zone ID the object was extracted from

zoneName

public ISOExtraction.Builder zoneName(String zoneName)
Parameters:
zoneName - zone name the object was extracted from


Copyright © 2009-2012 jclouds. All Rights Reserved.