public class ImageImpl extends ComputeMetadataImpl implements Image
Image.Status
tags
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, hashCode
getLocation, getName, getProviderId, getUri, getUserMetadata, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, getName, getProviderId, getTags, getType
getLocation, getUri, getUserMetadata
compareTo
public 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 Image
public Image.Status getStatus()
getStatus
in interface ComputeMetadataIncludingStatus<Image.Status>
public String getBackendStatus()
getBackendStatus
in interface ComputeMetadataIncludingStatus<Image.Status>
public String getVersion()
getVersion
in interface Image
public String getDescription()
getDescription
in interface Image
public LoginCredentials getDefaultCredentials()
getDefaultCredentials
in interface Image
protected com.google.common.base.Objects.ToStringHelper string()
string
in class ComputeMetadataImpl
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.