Class ImageDetails.Builder<T extends ImageDetails.Builder<T>>
- java.lang.Object
-
- org.jclouds.openstack.v2_0.domain.Resource.Builder<T>
-
- org.jclouds.openstack.glance.v1_0.domain.Image.Builder<T>
-
- org.jclouds.openstack.glance.v1_0.domain.ImageDetails.Builder<T>
-
- Enclosing class:
- ImageDetails
public abstract static class ImageDetails.Builder<T extends ImageDetails.Builder<T>> extends Image.Builder<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected Date
createdAt
protected Date
deletedAt
protected boolean
isPublic
protected String
location
protected long
minDisk
protected long
minRam
protected String
owner
protected Map<String,String>
properties
protected Image.Status
status
protected Date
updatedAt
-
Fields inherited from class org.jclouds.openstack.glance.v1_0.domain.Image.Builder
checksum, containerFormat, diskFormat, 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 ImageDetails
build()
T
createdAt(Date createdAt)
T
deletedAt(Date deletedAt)
T
fromImageDetails(ImageDetails in)
T
isPublic(boolean isPublic)
T
location(String location)
T
minDisk(long minDisk)
T
minRam(long minRam)
T
owner(String owner)
T
properties(Map<String,String> properties)
T
status(Image.Status status)
T
updatedAt(Date updatedAt)
-
Methods inherited from class org.jclouds.openstack.glance.v1_0.domain.Image.Builder
checksum, containerFormat, diskFormat, fromImage, size
-
Methods inherited from class org.jclouds.openstack.v2_0.domain.Resource.Builder
fromResource, id, links, links, name, self
-
-
-
-
Field Detail
-
minDisk
protected long minDisk
-
minRam
protected long minRam
-
location
protected String location
-
owner
protected String owner
-
updatedAt
protected Date updatedAt
-
createdAt
protected Date createdAt
-
deletedAt
protected Date deletedAt
-
status
protected Image.Status status
-
isPublic
protected boolean isPublic
-
-
Method Detail
-
minDisk
public T minDisk(long minDisk)
- See Also:
ImageDetails.getMinDisk()
-
minRam
public T minRam(long minRam)
- See Also:
ImageDetails.getMinRam()
-
location
public T location(String location)
- See Also:
ImageDetails.getLocation()
-
owner
public T owner(String owner)
- See Also:
ImageDetails.getOwner()
-
updatedAt
public T updatedAt(Date updatedAt)
- See Also:
ImageDetails.getUpdatedAt()
-
createdAt
public T createdAt(Date createdAt)
- See Also:
ImageDetails.getCreatedAt()
-
deletedAt
public T deletedAt(Date deletedAt)
- See Also:
ImageDetails.getDeletedAt()
-
status
public T status(Image.Status status)
- See Also:
ImageDetails.getStatus()
-
isPublic
public T isPublic(boolean isPublic)
- See Also:
ImageDetails.isPublic()
-
properties
public T properties(Map<String,String> properties)
- See Also:
ImageDetails.getProperties()
-
build
public ImageDetails build()
- Overrides:
build
in classImage.Builder<T extends ImageDetails.Builder<T>>
-
fromImageDetails
public T fromImageDetails(ImageDetails in)
-
-