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>
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.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Image.Builder<T extends Image.Builder<T>>
static enum
In-flight images will have the status attribute set to SAVING and the conditional progress element (0-100% completion) will also be returned. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Image
(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
Modifier and TypeMethodDescriptionstatic Image.Builder
<?> builder()
boolean
int
int
int
int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
-
Constructor Details
-
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 Details
-
builder
-
toBuilder
-
getUpdated
-
getCreated
-
getTenantId
-
getUserId
-
getStatus
-
getProgress
public int getProgress() -
getMinDisk
public int getMinDisk() -
getMinRam
public int getMinRam() -
getBlockDeviceMapping
-
getServer
-
getMetadata
-
hashCode
public int hashCode() -
equals
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-