public static class TemplateExtraction.Builder extends Object
Constructor and Description |
---|
TemplateExtraction.Builder() |
Modifier and Type | Method and Description |
---|---|
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) |
public TemplateExtraction.Builder id(long id)
id
- the id of extracted objectpublic TemplateExtraction.Builder accountId(long accountId)
accountId
- the account id to which the extracted object belongspublic TemplateExtraction.Builder created(Date created)
created
- the time and date the object was createdpublic TemplateExtraction.Builder extractId(long extractId)
extractId
- the upload id of extracted objectpublic TemplateExtraction.Builder extractMode(ExtractMode extractMode)
extractMode
- the mode of extraction - upload or downloadpublic TemplateExtraction.Builder name(String name)
name
- the name of the extracted objectpublic TemplateExtraction.Builder state(String state)
state
- the state of the extracted objectpublic TemplateExtraction.Builder status(String status)
status
- the status of the extractionpublic TemplateExtraction.Builder storageType(String storageType)
storageType
- type of the storagepublic TemplateExtraction.Builder uploadPercentage(int uploadPercentage)
uploadPercentage
- the percentage of the entity uploaded to the specified locationpublic TemplateExtraction.Builder url(String url)
url
- if mode = upload then url of the uploaded entity. if mode = download the url from which the entity can be downloadedpublic TemplateExtraction.Builder zoneId(long zoneId)
zoneId
- zone ID the object was extracted frompublic TemplateExtraction.Builder zoneName(String zoneName)
zoneName
- zone name the object was extracted frompublic TemplateExtraction build()
Copyright © 2009-2012 jclouds. All Rights Reserved.