Class ImageImpl
java.lang.Object
org.jclouds.domain.internal.ResourceMetadataImpl<ComputeType>
org.jclouds.compute.domain.internal.ComputeMetadataImpl
org.jclouds.compute.domain.internal.ImageImpl
- All Implemented Interfaces:
Comparable<ResourceMetadata<ComputeType>>,ComputeMetadata,ComputeMetadataIncludingStatus<Image.Status>,Image,ResourceMetadata<ComputeType>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jclouds.compute.domain.Image
Image.Status -
Field Summary
Fields inherited from class org.jclouds.compute.domain.internal.ComputeMetadataImpl
tags -
Constructor Summary
ConstructorsConstructorDescriptionImageImpl(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) -
Method Summary
Modifier and TypeMethodDescriptionstatus of the resource, as supplied literally from the backend api.Default credentials for the current imageDescription of the image.The operating system installed on this imageportable status of the resourceVersion of the imageprotected com.google.common.base.MoreObjects.ToStringHelperstring()Methods inherited from class org.jclouds.compute.domain.internal.ComputeMetadataImpl
addComputeToStringSuffix, compareTo, computeToStringPrefix, equals, getId, getTags, getType, hashCodeMethods inherited from class org.jclouds.domain.internal.ResourceMetadataImpl
getLocation, getName, getProviderId, getUri, getUserMetadata, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface org.jclouds.compute.domain.ComputeMetadata
getId, getName, getProviderId, getTags, getTypeMethods inherited from interface org.jclouds.domain.ResourceMetadata
getLocation, getUri, getUserMetadata
-
Constructor Details
-
ImageImpl
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)
-
-
Method Details
-
getOperatingSystem
The operating system installed on this image- Specified by:
getOperatingSystemin interfaceImage
-
getStatus
portable status of the resource- Specified by:
getStatusin interfaceComputeMetadataIncludingStatus<Image.Status>
-
getBackendStatus
status of the resource, as supplied literally from the backend api.- Specified by:
getBackendStatusin interfaceComputeMetadataIncludingStatus<Image.Status>- Returns:
- status or null, if the backend api has no concept of status
-
getVersion
Version of the image- Specified by:
getVersionin interfaceImage
-
getDescription
Description of the image.- Specified by:
getDescriptionin interfaceImage
-
getDefaultCredentials
Default credentials for the current image- Specified by:
getDefaultCredentialsin interfaceImage
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()- Overrides:
stringin classComputeMetadataImpl
-