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 String |
name |
protected Integer |
progress |
protected String |
serverRef |
protected ImageStatus |
status |
protected Date |
updated |
id, links, orderedSelfReferences
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 |
name(String name) |
T |
progress(Integer progress) |
T |
serverRef(String serverRef) |
T |
status(ImageStatus status) |
T |
updated(Date updated) |
fromResource, id, links, links, orderedSelfReferences, self
protected String name
protected Integer progress
protected String serverRef
protected ImageStatus status
protected Date created
protected Date updated
public T name(String name)
Image.getName()
public T progress(Integer progress)
Image.getProgress()
public T serverRef(String serverRef)
Image.getServerRef()
public T status(ImageStatus status)
Image.getStatus()
public T metadata(Map<String,String> metadata)
Image.getMetadata()
public T created(Date created)
Image.getCreated()
public T updated(Date updated)
Image.getUpdated()
public Image build()
Copyright © 2009-2013 jclouds. All Rights Reserved.