org.jclouds.compute.domain
Interface ComputeMetadata

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

public interface ComputeMetadata
extends org.jclouds.domain.ResourceMetadata<ComputeType>

Author:
Ivan Meredith, Adrian Cole

Method Summary
 String getId()
          A means to uniquely address this resource within a provider.
 String getName()
           
 String getProviderId()
           
 Set<String> getTags()
           
 ComputeType getType()
           
 
Methods inherited from interface org.jclouds.domain.ResourceMetadata
getLocation, getUri, getUserMetadata
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getType

ComputeType getType()
Specified by:
getType in interface org.jclouds.domain.ResourceMetadata<ComputeType>
Returns:
Type of the resource, ex node, image, size

getProviderId

String getProviderId()
Specified by:
getProviderId in interface org.jclouds.domain.ResourceMetadata<ComputeType>
Returns:
id of the server within the naming scope it was created. potentially generated by the service.

getName

@Nullable
String getName()
Specified by:
getName in interface org.jclouds.domain.ResourceMetadata<ComputeType>
Returns:
user defined name of the server.

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.

Returns:
unique id within your account on the provider

getTags

Set<String> getTags()
Returns:
tags describing this resource, if supported


Copyright © 2009-2011 jclouds. All Rights Reserved.