Package org.jclouds.compute.util
Class AutomaticHardwareIdSpec
- java.lang.Object
-
- org.jclouds.compute.util.AutomaticHardwareIdSpec
-
public class AutomaticHardwareIdSpec extends Object
-
-
Constructor Summary
Constructors Constructor Description AutomaticHardwareIdSpec()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AutomaticHardwareIdSpec
automaticHardwareIdSpecBuilder(double cores, int ram, com.google.common.base.Optional<Float> disk)
double
getCores()
com.google.common.base.Optional<Float>
getDisk()
int
getRam()
static boolean
isAutomaticId(String id)
static AutomaticHardwareIdSpec
parseId(String hardwareId)
String
toString()
-
-
-
Method Detail
-
isAutomaticId
public static boolean isAutomaticId(String id)
-
parseId
public static AutomaticHardwareIdSpec parseId(String hardwareId)
-
automaticHardwareIdSpecBuilder
public static AutomaticHardwareIdSpec automaticHardwareIdSpecBuilder(double cores, int ram, com.google.common.base.Optional<Float> disk)
-
getCores
public double getCores()
-
getRam
public int getRam()
-
getDisk
public com.google.common.base.Optional<Float> getDisk()
-
-