public abstract class ResourceMetadataImpl<T extends Enum<T>> extends Object implements ResourceMetadata<T>, Serializable
Constructor and Description |
---|
ResourceMetadataImpl(String providerId,
String name,
Location location,
URI uri,
Map<String,String> userMetadata) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ResourceMetadata<T> o) |
boolean |
equals(Object obj) |
Location |
getLocation()
Physical location of the resource, or null if n/a
ex.
|
String |
getName()
Name of this resource.
|
String |
getProviderId()
Unique identifier of this resource within its enclosing namespace.
|
URI |
getUri()
URI used to access this resource
|
Map<String,String> |
getUserMetadata()
Any key-value pairs associated with the resource.
|
int |
hashCode() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getType
public int compareTo(ResourceMetadata<T> o)
compareTo
in interface Comparable<ResourceMetadata<T extends Enum<T>>>
public String getProviderId()
getProviderId
in interface ResourceMetadata<T extends Enum<T>>
public String getName()
getName
in interface ResourceMetadata<T extends Enum<T>>
public Location getLocation()
getLocation
in interface ResourceMetadata<T extends Enum<T>>
public URI getUri()
getUri
in interface ResourceMetadata<T extends Enum<T>>
public Map<String,String> getUserMetadata()
getUserMetadata
in interface ResourceMetadata<T extends Enum<T>>
Copyright © 2009-2012 jclouds. All Rights Reserved.