Class DatacenterToLocation
- java.lang.Object
-
- org.jclouds.softlayer.compute.functions.DatacenterToLocation
-
- All Implemented Interfaces:
com.google.common.base.Function<Datacenter,Location>
,Function<Datacenter,Location>
@Singleton public class DatacenterToLocation extends Object implements com.google.common.base.Function<Datacenter,Location>
Converts an Datacenter into a Location.
-
-
Constructor Summary
Constructors Constructor Description DatacenterToLocation(JustProvider provider)
-
-
-
Constructor Detail
-
DatacenterToLocation
@Inject public DatacenterToLocation(JustProvider provider)
-
-
Method Detail
-
apply
public Location apply(Datacenter datacenter)
- Specified by:
apply
in interfacecom.google.common.base.Function<Datacenter,Location>
- Specified by:
apply
in interfaceFunction<Datacenter,Location>
-
-