Class ComputeMetadataImpl
java.lang.Object
org.jclouds.domain.internal.ResourceMetadataImpl<ComputeType>
org.jclouds.compute.domain.internal.ComputeMetadataImpl
- All Implemented Interfaces:
Comparable<ResourceMetadata<ComputeType>>,ComputeMetadata,ResourceMetadata<ComputeType>
- Direct Known Subclasses:
HardwareImpl,ImageImpl,NodeMetadataImpl,SecurityGroup
public class ComputeMetadataImpl
extends ResourceMetadataImpl<ComputeType>
implements ComputeMetadata
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.google.common.base.MoreObjects.ToStringHelperaddComputeToStringSuffix(com.google.common.base.MoreObjects.ToStringHelper helper) intcompareTo(ResourceMetadata<ComputeType> that) protected com.google.common.base.MoreObjects.ToStringHelperbooleangetId()A means to uniquely address this resource within a provider.getTags()getType()Whether this resource is a container, file, node, queue, etc.inthashCode()protected com.google.common.base.MoreObjects.ToStringHelperstring()Methods 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 org.jclouds.compute.domain.ComputeMetadata
getName, getProviderIdMethods inherited from interface org.jclouds.domain.ResourceMetadata
getLocation, getUri, getUserMetadata
-
Field Details
-
tags
-
-
Constructor Details
-
ComputeMetadataImpl
-
-
Method Details
-
getType
Whether this resource is a container, file, node, queue, etc.- Specified by:
getTypein interfaceComputeMetadata- Specified by:
getTypein interfaceResourceMetadata<ComputeType>- Returns:
- Type of the resource, ex node, image, size
-
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.- Specified by:
getIdin interfaceComputeMetadata- Returns:
- unique id within your account on the provider
-
getTags
- Specified by:
getTagsin interfaceComputeMetadata- Returns:
- tags describing this resource, if supported
-
compareTo
- Specified by:
compareToin interfaceComparable<ResourceMetadata<ComputeType>>- Overrides:
compareToin classResourceMetadataImpl<ComputeType>
-
equals
- Overrides:
equalsin classResourceMetadataImpl<ComputeType>
-
hashCode
public int hashCode()- Overrides:
hashCodein classResourceMetadataImpl<ComputeType>
-
computeToStringPrefix
protected com.google.common.base.MoreObjects.ToStringHelper computeToStringPrefix() -
addComputeToStringSuffix
protected com.google.common.base.MoreObjects.ToStringHelper addComputeToStringSuffix(com.google.common.base.MoreObjects.ToStringHelper helper) -
string
protected com.google.common.base.MoreObjects.ToStringHelper string()- Overrides:
stringin classResourceMetadataImpl<ComputeType>
-