Package org.jclouds.domain
Interface Location
-
- All Known Subinterfaces:
ApiContext<A>,Context
- All Known Implementing Classes:
ApiContextImpl,ContextImpl,LocationImpl
public interface LocationDescription of where a resource is running. Note this can be physical or virtual.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDescription()Description of the locationStringgetId()Unique ID provided by the provider (us-standard, miami, etc)Set<String>getIso3166Codes()Map<String,Object>getMetadata()LocationgetParent()The parent, or null, if top-levelLocationScopegetScope()Scope of the location, ex.
-
-
-
Method Detail
-
getScope
LocationScope getScope()
Scope of the location, ex. region, zone, host
-
getId
String getId()
Unique ID provided by the provider (us-standard, miami, etc)
-
getDescription
String getDescription()
Description of the location
-
getParent
Location getParent()
The parent, or null, if top-level
-
getMetadata
Map<String,Object> getMetadata()
- Returns:
- immutable set of metadata relating to this location
-
-