org.jclouds.compute.domain
Interface ComputeMetadata

All Superinterfaces:
Comparable<ResourceMetadata<ComputeType>>, ResourceMetadata<ComputeType>
All Known Subinterfaces:
Hardware, Image, NodeMetadata
All Known Implementing Classes:
ComputeMetadataImpl, HardwareImpl, ImageImpl, NodeMetadataImpl

public interface ComputeMetadata
extends ResourceMetadata<ComputeType>

Author:
Ivan Meredith, Adrian Cole

Method Summary
 String getId()
          A means to uniquely address this resource within a provider.
 String getName()
          user defined name of the server.
 String getProviderId()
          id of the server within the naming scope it was created.
 ComputeType getType()
          Type of the resource, ex node, image, size
 
Methods inherited from interface org.jclouds.domain.ResourceMetadata
getLocation, getUri, getUserMetadata
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getType

ComputeType getType()
Type of the resource, ex node, image, size

Specified by:
getType in interface ResourceMetadata<ComputeType>

getProviderId

String getProviderId()
id of the server within the naming scope it was created. potentially generated by the service.

Specified by:
getProviderId in interface ResourceMetadata<ComputeType>

getName

String getName()
user defined name of the server.

Specified by:
getName in interface ResourceMetadata<ComputeType>

getId

String getId()
A means to uniquely address this resource within a provider. For example, if the namespace of a node or image is region based, the id will likely include both the region and the provider-supplied id encoded to avoid collisions.



Copyright © 2009-2011 jclouds. All Rights Reserved.