Class FlavorInRegionToHardware
- java.lang.Object
-
- org.jclouds.openstack.nova.v2_0.compute.functions.FlavorInRegionToHardware
-
- All Implemented Interfaces:
com.google.common.base.Function<FlavorInRegion,Hardware>
,Function<FlavorInRegion,Hardware>
public class FlavorInRegionToHardware extends Object implements com.google.common.base.Function<FlavorInRegion,Hardware>
A function for transforming the nova specific FlavorInRegion object to the generic Hardware object.
-
-
Constructor Summary
Constructors Constructor Description FlavorInRegionToHardware(com.google.common.base.Supplier<Map<String,Location>> locationIndex)
-
-
-
Method Detail
-
apply
public Hardware apply(FlavorInRegion flavorInRegion)
- Specified by:
apply
in interfacecom.google.common.base.Function<FlavorInRegion,Hardware>
- Specified by:
apply
in interfaceFunction<FlavorInRegion,Hardware>
-
-