public class ImageImpl extends ComputeMetadataImpl implements Image
tags
Constructor and Description |
---|
ImageImpl(String providerId,
String name,
String id,
Location location,
URI uri,
Map<String,String> userMetadata,
Set<String> tags,
OperatingSystem operatingSystem,
String description,
String version,
LoginCredentials defaultCredentials) |
ImageImpl(String providerId,
String name,
String id,
Location location,
URI uri,
Map<String,String> userMetadata,
Set<String> tags,
OperatingSystem operatingSystem,
String description,
String version,
String adminPassword,
Credentials defaultCredentials)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAdminPassword()
Deprecated.
|
LoginCredentials |
getDefaultCredentials()
Default credentials for the current image
|
String |
getDescription()
Description of the image.
|
OperatingSystem |
getOperatingSystem()
The operating system installed on this image
|
String |
getVersion()
Version of the image
|
int |
hashCode() |
String |
toString() |
getId, getTags, getType
compareTo, getLocation, getName, getProviderId, getUri, getUserMetadata
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, getName, getProviderId, getTags, getType
getLocation, getUri, getUserMetadata
compareTo
@Deprecated public ImageImpl(String providerId, String name, String id, Location location, URI uri, Map<String,String> userMetadata, Set<String> tags, OperatingSystem operatingSystem, String description, @Nullable String version, @Nullable String adminPassword, @Nullable Credentials defaultCredentials)
public OperatingSystem getOperatingSystem()
getOperatingSystem
in interface Image
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()
public String toString()
toString
in class ResourceMetadataImpl<ComputeType>
public int hashCode()
hashCode
in class ComputeMetadataImpl
public boolean equals(Object obj)
equals
in class ComputeMetadataImpl
Copyright © 2009-2012 jclouds. All Rights Reserved.