Class Image
- java.lang.Object
-
- org.jclouds.openstack.v2_0.domain.Resource
-
- org.jclouds.openstack.glance.v1_0.domain.Image
-
- All Implemented Interfaces:
Comparable<Resource>
- Direct Known Subclasses:
ImageDetails
public class Image extends Resource
An image the Glance server knows about
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Image.Builder<T extends Image.Builder<T>>
static class
Image.Status
-
Constructor Summary
Constructors Modifier Constructor Description protected
Image(String id, String name, Set<Link> links, ContainerFormat containerFormat, DiskFormat diskFormat, Long size, String checksum)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Image.Builder<?>
builder()
boolean
equals(Object obj)
com.google.common.base.Optional<String>
getChecksum()
com.google.common.base.Optional<ContainerFormat>
getContainerFormat()
com.google.common.base.Optional<DiskFormat>
getDiskFormat()
com.google.common.base.Optional<Long>
getSize()
int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
Image.Builder<?>
toBuilder()
-
-
-
Constructor Detail
-
Image
@ConstructorProperties({"id","name","links","container_format","disk_format","size","checksum"}) protected Image(String id, @Nullable String name, Set<Link> links, @Nullable ContainerFormat containerFormat, @Nullable DiskFormat diskFormat, @Nullable Long size, @Nullable String checksum)
-
-
Method Detail
-
builder
public static Image.Builder<?> builder()
-
toBuilder
public Image.Builder<?> toBuilder()
-
getContainerFormat
public com.google.common.base.Optional<ContainerFormat> getContainerFormat()
-
getDiskFormat
public com.google.common.base.Optional<DiskFormat> getDiskFormat()
-
getSize
public com.google.common.base.Optional<Long> getSize()
-
getChecksum
public com.google.common.base.Optional<String> getChecksum()
-
-