public class Image extends Resource
Modifier and Type | Class and Description |
---|---|
static class |
Image.Builder<T extends Image.Builder<T>> |
static class |
Image.Status
In-flight images will have the status attribute set to SAVING and the conditional progress
element (0-100% completion) will also be returned.
|
Modifier | Constructor and Description |
---|---|
protected |
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) |
Modifier and Type | Method and Description |
---|---|
static Image.Builder<?> |
builder() |
boolean |
equals(Object obj) |
List<BlockDeviceMapping> |
getBlockDeviceMapping() |
Date |
getCreated() |
Map<String,String> |
getMetadata() |
int |
getMinDisk() |
int |
getMinRam() |
int |
getProgress() |
Resource |
getServer() |
Image.Status |
getStatus() |
String |
getTenantId() |
Date |
getUpdated() |
String |
getUserId() |
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
Image.Builder<?> |
toBuilder() |
@ConstructorProperties(value={"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)
public static Image.Builder<?> builder()
public Image.Builder<?> toBuilder()
@Nullable public Image.Status getStatus()
public int getProgress()
public int getMinDisk()
public int getMinRam()
@Nullable public List<BlockDeviceMapping> getBlockDeviceMapping()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.