public class GlanceImage extends Object implements Image
http://docs.openstack.org/api/openstack-image-service/1.1/content/index.html,
Serialized Form| Modifier and Type | Class and Description |
|---|---|
static class |
GlanceImage.ImageConcreteBuilder |
static class |
GlanceImage.Images |
Image.StatusBuildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>| Constructor and Description |
|---|
GlanceImage() |
| Modifier and Type | Method and Description |
|---|---|
static ImageBuilder |
builder() |
GlanceImage |
createdAt(Date createdAt) |
GlanceImage |
deletedAt(Date deletedAt) |
String |
getChecksum() |
ContainerFormat |
getContainerFormat() |
String |
getCopyFrom() |
Date |
getCreatedAt()
The timestamp of when the image was created
|
Date |
getDeletedAt() |
DiskFormat |
getDiskFormat() |
String |
getId() |
String |
getLocation() |
long |
getMinDisk() |
long |
getMinRam() |
String |
getName() |
String |
getOwner() |
Map<String,String> |
getProperties()
A mapping of free-form key/value pairs that have been saved with the image metadata
|
Long |
getSize() |
Image.Status |
getStatus() |
StoreType |
getStoreType()
This will always be null on any list or get request.
|
Date |
getUpdatedAt()
Timestamp when an image's metadata was last updated, not its image data, as all image data is immutable once stored in Glance
|
boolean |
isDeleted() |
GlanceImage |
isDeleted(Boolean isDeleted) |
boolean |
isProtected() |
GlanceImage |
isProtected(Boolean isProtected) |
boolean |
isPublic()
Indicates whether the image is publicly available
|
boolean |
isSnapshot()
Determines if this image is a snapshot
|
GlanceImage |
location(String location) |
GlanceImage |
properties(Map<String,String> properties) |
void |
setId(String id)
Sets the identifier for this resource.
|
void |
setName(String name)
Sets the name for this resource
|
GlanceImage |
size(Long size) |
GlanceImage |
status(Image.Status status) |
ImageBuilder |
toBuilder() |
String |
toString() |
GlanceImage |
updatedAt(Date updatedAt) |
public static ImageBuilder builder()
public ImageBuilder toBuilder()
toBuilder in interface Buildable<ImageBuilder>public String getId()
public String getName()
getName in interface BasicResourcepublic void setId(String id)
public void setName(String name)
setName in interface BasicResourcename - the name to setpublic ContainerFormat getContainerFormat()
getContainerFormat in interface Imagepublic DiskFormat getDiskFormat()
getDiskFormat in interface Imagepublic String getChecksum()
getChecksum in interface Imagepublic long getMinDisk()
getMinDisk in interface Imagepublic long getMinRam()
public String getLocation()
getLocation in interface Imagepublic Date getUpdatedAt()
getUpdatedAt in interface Imagepublic Date getCreatedAt()
getCreatedAt in interface Image@Nullable public Date getDeletedAt()
getDeletedAt in interface Imagepublic Image.Status getStatus()
public boolean isPublic()
public boolean isDeleted()
public boolean isProtected()
isProtected in interface Imagepublic StoreType getStoreType()
getStoreType in interface Imagepublic Map<String,String> getProperties()
getProperties in interface Imagepublic String getCopyFrom()
getCopyFrom in interface Imagepublic GlanceImage isProtected(Boolean isProtected)
public GlanceImage isDeleted(Boolean isDeleted)
public GlanceImage status(Image.Status status)
public GlanceImage createdAt(Date createdAt)
public GlanceImage updatedAt(Date updatedAt)
public GlanceImage deletedAt(Date deletedAt)
public GlanceImage size(Long size)
public GlanceImage location(String location)
public GlanceImage properties(Map<String,String> properties)
public boolean isSnapshot()
isSnapshot in interface ImageCopyright © 2017. All rights reserved.