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 |
getAdminPassword()
Deprecated.
|
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, computeToStringPrefix, equals, getId, getTags, getType, hashCode
compareTo, 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, 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
@Deprecated public String getAdminPassword()
echo 'password' |sudo -S command
getAdminPassword
in interface Image
LoginCredentials.shouldAuthenticateSudo()
protected com.google.common.base.Objects.ToStringHelper string()
string
in class ComputeMetadataImpl
Copyright © 2009-2013 jclouds. All Rights Reserved.