Package org.jclouds.domain.internal
Class LocationImpl
java.lang.Object
org.jclouds.domain.internal.LocationImpl
- All Implemented Interfaces:
Location
-
Constructor Summary
ConstructorsConstructorDescriptionLocationImpl
(LocationScope scope, String id, String description, Location parent, Iterable<String> iso3166Codes, Map<String, Object> metadata) -
Method Summary
-
Constructor Details
-
LocationImpl
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
toString
-
getScope
Scope of the location, ex. region, zone, host -
getId
Unique ID provided by the provider (us-standard, miami, etc) -
getDescription
Description of the location- Specified by:
getDescription
in interfaceLocation
-
getParent
The parent, or null, if top-level -
getIso3166Codes
- Specified by:
getIso3166Codes
in interfaceLocation
- Returns:
- if known, the IS0 3166 or 3166-2 divisions where this service may run. ex. a set of strings like "US" or "US-CA"; otherwise returns an empty list.
- See Also:
-
getMetadata
- Specified by:
getMetadata
in interfaceLocation
- Returns:
- immutable set of metadata relating to this location
-