Interface Location
-
public interface Location
Description 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 java.lang.String
getDescription()
Description of the locationjava.lang.String
getId()
Unique ID provided by the provider (us-standard, miami, etc)java.util.Set<java.lang.String>
getIso3166Codes()
java.util.Map<java.lang.String,java.lang.Object>
getMetadata()
Location
getParent()
The parent, or null, if top-levelLocationScope
getScope()
Scope of the location, ex.
-
-
-
Method Detail
-
getScope
LocationScope getScope()
Scope of the location, ex. region, zone, host
-
getId
java.lang.String getId()
Unique ID provided by the provider (us-standard, miami, etc)
-
getDescription
java.lang.String getDescription()
Description of the location
-
getParent
Location getParent()
The parent, or null, if top-level
-
getMetadata
java.util.Map<java.lang.String,java.lang.Object> getMetadata()
- Returns:
- immutable set of metadata relating to this location
-
getIso3166Codes
java.util.Set<java.lang.String> getIso3166Codes()
- 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:
- 3166
-
-