public class GlanceImage extends Object implements Image
Modifier and Type | Class and Description |
---|---|
static class |
GlanceImage.ImageConcreteBuilder |
static class |
GlanceImage.Images |
Image.ImageStatus, Image.ImageVisibility
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
Constructor and Description |
---|
GlanceImage() |
public void setName(String name)
setName
in interface BasicResource
name
- the name to setpublic void setId(String id)
public Image.ImageStatus getStatus()
public String getName()
getName
in interface BasicResource
getName
in interface Image
public ContainerFormat getContainerFormat()
getContainerFormat
in interface Image
public Date getCreatedAt()
getCreatedAt
in interface Image
public DiskFormat getDiskFormat()
getDiskFormat
in interface Image
public Date getUpdatedAt()
getUpdatedAt
in interface Image
public Long getMinDisk()
getMinDisk
in interface Image
public Boolean getIsProtected()
getIsProtected
in interface Image
public String getId()
public Long getMinRam()
public String getChecksum()
getChecksum
in interface Image
public String getOwner()
public Image.ImageVisibility getVisibility()
getVisibility
in interface Image
public Long getSize()
public List<String> getLocations()
getLocations
in interface Image
public String getDirectUrl()
getDirectUrl
in interface Image
show_image_direct_url
option to
true
in the image service's configuration filepublic String getSelf()
public String getFile()
public String getSchema()
public String getRamdiskId()
getRamdiskId
in interface Image
public String getOsDistro()
getOsDistro
in interface Image
public String getOsVersion()
getOsVersion
in interface Image
public String getKernelId()
getKernelId
in interface Image
public String getInstanceUuid()
getInstanceUuid
in interface Image
public String getArchitecture()
getArchitecture
in interface Image
public Long getVirtualSize()
getVirtualSize
in interface Image
public String getAdditionalPropertyValue(String key)
getAdditionalPropertyValue
in interface Image
public ImageBuilder toBuilder()
toBuilder
in interface Buildable<ImageBuilder>
public static ImageBuilder builder()
Copyright © 2017. All rights reserved.