Package org.jclouds.compute.domain
Interface ComputeMetadata
-
- All Superinterfaces:
Comparable<ResourceMetadata<ComputeType>>,ResourceMetadata<ComputeType>
- All Known Subinterfaces:
ComputeMetadataIncludingStatus<S>,Hardware,Image,NodeMetadata
- All Known Implementing Classes:
ComputeMetadataImpl,HardwareImpl,ImageImpl,NodeMetadataImpl,SecurityGroup
public interface ComputeMetadata extends ResourceMetadata<ComputeType>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetId()A means to uniquely address this resource within a provider.StringgetName()Name of this resource.StringgetProviderId()Unique identifier of this resource within its enclosing namespace.Set<String>getTags()ComputeTypegetType()Whether this resource is a container, file, node, queue, etc.-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface org.jclouds.domain.ResourceMetadata
getLocation, getUri, getUserMetadata
-
-
-
-
Method Detail
-
getType
ComputeType getType()
Description copied from interface:ResourceMetadataWhether this resource is a container, file, node, queue, etc.- Specified by:
getTypein interfaceResourceMetadata<ComputeType>- Returns:
- Type of the resource, ex node, image, size
-
getProviderId
String getProviderId()
Description copied from interface:ResourceMetadataUnique identifier of this resource within its enclosing namespace. In some scenarios, this id is not user assignable. For files, this may be an system generated key, or the full path to the resource. ex. /path/to/file.txt- Specified by:
getProviderIdin interfaceResourceMetadata<ComputeType>- Returns:
- id of the server within the naming scope it was created. potentially generated by the service.
-
getName
@Nullable String getName()
Description copied from interface:ResourceMetadataName of this resource. Names are dictated by the user. For files, this may be the filename, ex. file.txt- Specified by:
getNamein interfaceResourceMetadata<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
-
-