public class ImageImpl extends ComputeMetadataImpl implements Image
Image.Statustags| Constructor and Description |
|---|
ImageImpl(String providerId,
String name,
String id,
Location location,
URI uri,
Map<String,String> userMetadata,
Set<String> tags,
OperatingSystem operatingSystem,
Image.Status status,
String backendStatus,
String description,
String version,
LoginCredentials defaultCredentials) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBackendStatus()
status of the resource, as supplied literally from the backend api.
|
LoginCredentials |
getDefaultCredentials()
Default credentials for the current image
|
String |
getDescription()
Description of the image.
|
OperatingSystem |
getOperatingSystem()
The operating system installed on this image
|
Image.Status |
getStatus()
portable status of the resource
|
String |
getVersion()
Version of the image
|
protected com.google.common.base.Objects.ToStringHelper |
string() |
addComputeToStringSuffix, compareTo, computeToStringPrefix, equals, getId, getTags, getType, hashCodegetLocation, getName, getProviderId, getUri, getUserMetadata, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetId, getName, getProviderId, getTags, getTypegetLocation, getUri, getUserMetadatacompareTopublic ImageImpl(String providerId, String name, String id, Location location, URI uri, Map<String,String> userMetadata, Set<String> tags, OperatingSystem operatingSystem, Image.Status status, @Nullable String backendStatus, @Nullable String description, @Nullable String version, @Nullable LoginCredentials defaultCredentials)
public OperatingSystem getOperatingSystem()
getOperatingSystem in interface Imagepublic Image.Status getStatus()
getStatus in interface ComputeMetadataIncludingStatus<Image.Status>public String getBackendStatus()
getBackendStatus in interface ComputeMetadataIncludingStatus<Image.Status>public String getVersion()
getVersion in interface Imagepublic String getDescription()
getDescription in interface Imagepublic LoginCredentials getDefaultCredentials()
getDefaultCredentials in interface Imageprotected com.google.common.base.Objects.ToStringHelper string()
string in class ComputeMetadataImplCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.