Class Image
- java.lang.Object
-
- org.jclouds.openstack.v2_0.domain.Resource
-
- org.jclouds.openstack.nova.v2_0.domain.Image
-
- All Implemented Interfaces:
Comparable<Resource>
public class Image extends Resource
An image is a collection of files you use to create or rebuild a server. Operators provide pre-built OS images by default. You may also create custom images.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImage.Builder<T extends Image.Builder<T>>static classImage.StatusIn-flight images will have the status attribute set to SAVING and the conditional progress element (0-100% completion) will also be returned.
-
Constructor Summary
Constructors Modifier Constructor Description protectedImage(String id, String name, Set<Link> links, Date updated, Date created, String tenantId, String userId, Image.Status status, int progress, int minDisk, int minRam, List<BlockDeviceMapping> blockDeviceMapping, Resource server, Map<String,String> metadata)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Image.Builder<?>builder()booleanequals(Object obj)List<BlockDeviceMapping>getBlockDeviceMapping()DategetCreated()Map<String,String>getMetadata()intgetMinDisk()intgetMinRam()intgetProgress()ResourcegetServer()Image.StatusgetStatus()StringgetTenantId()DategetUpdated()StringgetUserId()inthashCode()protected com.google.common.base.MoreObjects.ToStringHelperstring()Image.Builder<?>toBuilder()
-
-
-
Constructor Detail
-
Image
@ConstructorProperties({"id","name","links","updated","created","tenant_id","user_id","status","progress","minDisk","minRam","server","blockDeviceMapping","metadata"}) protected Image(String id, @Nullable String name, Set<Link> links, @Nullable Date updated, @Nullable Date created, String tenantId, @Nullable String userId, @Nullable Image.Status status, int progress, int minDisk, int minRam, @Nullable List<BlockDeviceMapping> blockDeviceMapping, @Nullable Resource server, @Nullable Map<String,String> metadata)
-
-
Method Detail
-
builder
public static Image.Builder<?> builder()
-
toBuilder
public Image.Builder<?> toBuilder()
-
getStatus
@Nullable public Image.Status getStatus()
-
getProgress
public int getProgress()
-
getMinDisk
public int getMinDisk()
-
getMinRam
public int getMinRam()
-
getBlockDeviceMapping
@Nullable public List<BlockDeviceMapping> getBlockDeviceMapping()
-
-