org.jclouds.cloudstack.domain
Class ISOExtraction.Builder
java.lang.Object
org.jclouds.cloudstack.domain.ISOExtraction.Builder
- Enclosing class:
- ISOExtraction
public static class ISOExtraction.Builder
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ISOExtraction.Builder
public ISOExtraction.Builder()
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.