public class LocationImpl extends Object implements Location, Serializable
Constructor and Description |
---|
LocationImpl(LocationScope scope,
String id,
String description,
Location parent,
Iterable<String> iso3166Codes,
Map<String,Object> metadata) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getDescription()
Description of the location
|
String |
getId()
Unique ID provided by the provider (us-standard, miami, etc)
|
Set<String> |
getIso3166Codes() |
Map<String,Object> |
getMetadata() |
Location |
getParent()
The parent, or null, if top-level
|
LocationScope |
getScope()
Scope of the location, ex.
|
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
String |
toString() |
protected com.google.common.base.Objects.ToStringHelper string()
public LocationScope getScope()
public String getId()
public String getDescription()
getDescription
in interface Location
public Location getParent()
public Set<String> getIso3166Codes()
getIso3166Codes
in interface Location
public Map<String,Object> getMetadata()
getMetadata
in interface Location
Copyright © 2009-2013 jclouds. All Rights Reserved.