public abstract static class Image.Builder<T extends Image.Builder<T>> extends Resource.Builder<T>
Modifier and Type | Field and Description |
---|---|
protected Date |
created |
protected Map<String,String> |
metadata |
protected int |
minDisk |
protected int |
minRam |
protected int |
progress |
protected Resource |
server |
protected Image.Status |
status |
protected String |
tenantId |
protected Date |
updated |
protected String |
userId |
id, links, name
Constructor and Description |
---|
Image.Builder() |
Modifier and Type | Method and Description |
---|---|
Image |
build() |
T |
created(Date created) |
T |
fromImage(Image in) |
T |
metadata(Map<String,String> metadata) |
T |
minDisk(int minDisk) |
T |
minRam(int minRam) |
T |
progress(int progress) |
T |
server(Resource server) |
T |
status(Image.Status status) |
T |
tenantId(String tenantId) |
T |
updated(Date updated) |
T |
userId(String userId) |
fromResource, id, links, links, name, self
protected Date updated
protected Date created
protected String tenantId
protected String userId
protected Image.Status status
protected int progress
protected int minDisk
protected int minRam
protected Resource server
public T updated(Date updated)
Image.getUpdated()
public T created(Date created)
Image.getCreated()
public T tenantId(String tenantId)
Image.getTenantId()
public T userId(String userId)
Image.getUserId()
public T status(Image.Status status)
Image.getStatus()
public T progress(int progress)
Image.getProgress()
public T minDisk(int minDisk)
Image.getMinDisk()
public T minRam(int minRam)
Image.getMinRam()
public T server(Resource server)
Image.getServer()
public T metadata(Map<String,String> metadata)
Image.getMetadata()
public Image build()
build
in class Resource.Builder<T extends Image.Builder<T>>
Copyright © 2009-2013 jclouds. All Rights Reserved.