Class Image.Builder<T extends Image.Builder<T>>
- java.lang.Object
-
- org.jclouds.openstack.v2_0.domain.Resource.Builder<T>
-
- org.jclouds.openstack.glance.v1_0.domain.Image.Builder<T>
-
- Direct Known Subclasses:
ImageDetails.Builder
- Enclosing class:
- Image
public abstract static class Image.Builder<T extends Image.Builder<T>> extends Resource.Builder<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected String
checksum
protected ContainerFormat
containerFormat
protected DiskFormat
diskFormat
protected Long
size
-
Fields inherited from class org.jclouds.openstack.v2_0.domain.Resource.Builder
id, links, name
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Image
build()
T
checksum(String checksum)
T
containerFormat(ContainerFormat containerFormat)
T
diskFormat(DiskFormat diskFormat)
T
fromImage(Image in)
T
size(Long size)
-
Methods inherited from class org.jclouds.openstack.v2_0.domain.Resource.Builder
fromResource, id, links, links, name, self
-
-
-
-
Field Detail
-
containerFormat
protected ContainerFormat containerFormat
-
diskFormat
protected DiskFormat diskFormat
-
size
protected Long size
-
checksum
protected String checksum
-
-
Method Detail
-
containerFormat
public T containerFormat(ContainerFormat containerFormat)
- See Also:
Image.getContainerFormat()
-
diskFormat
public T diskFormat(DiskFormat diskFormat)
- See Also:
Image.getDiskFormat()
-
size
public T size(Long size)
- See Also:
Image.getSize()
-
checksum
public T checksum(String checksum)
- See Also:
Image.getChecksum()
-
build
public Image build()
- Overrides:
build
in classResource.Builder<T extends Image.Builder<T>>
-
-