org.jclouds.cloudstack.domain
Class TemplateExtraction.Builder

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

public static class TemplateExtraction.Builder
extends Object


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

Constructor Detail

TemplateExtraction.Builder

public TemplateExtraction.Builder()
Method Detail

id

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

accountId

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

created

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

extractId

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

extractMode

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

name

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

state

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

status

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

storageType

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

uploadPercentage

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

url

public TemplateExtraction.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 TemplateExtraction.Builder zoneId(long zoneId)
Parameters:
zoneId - zone ID the object was extracted from

zoneName

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

build

public TemplateExtraction build()


Copyright © 2009-2012 jclouds. All Rights Reserved.