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 String
getId()
A means to uniquely address this resource within a provider.String
getName()
Name of this resource.String
getProviderId()
Unique identifier of this resource within its enclosing namespace.Set<String>
getTags()
ComputeType
getType()
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:ResourceMetadata
Whether this resource is a container, file, node, queue, etc.- Specified by:
getType
in interfaceResourceMetadata<ComputeType>
- Returns:
- Type of the resource, ex node, image, size
-
getProviderId
String getProviderId()
Description copied from interface:ResourceMetadata
Unique 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:
getProviderId
in 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:ResourceMetadata
Name of this resource. Names are dictated by the user. For files, this may be the filename, ex. file.txt- Specified by:
getName
in 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
-
-