Class GoogleComputeEngineArbitraryCpuRamTemplateBuilderImpl
- java.lang.Object
-
- org.jclouds.compute.domain.internal.TemplateBuilderImpl
-
- org.jclouds.compute.domain.internal.ArbitraryCpuRamTemplateBuilderImpl
-
- org.jclouds.googlecomputeengine.compute.domain.internal.GoogleComputeEngineArbitraryCpuRamTemplateBuilderImpl
-
- All Implemented Interfaces:
TemplateBuilder
public class GoogleComputeEngineArbitraryCpuRamTemplateBuilderImpl extends ArbitraryCpuRamTemplateBuilderImpl
-
-
Field Summary
-
Fields inherited from class org.jclouds.compute.domain.internal.TemplateBuilderImpl
biggest, defaultLocation, defaultTemplateProvider, fastest, forceCacheReload, hardwareId, hardwares, hypervisor, imageChooser, imageDescription, imageId, imageName, imagePredicate, images, imageVersion, location, locations, logger, minCores, minDisk, minRam, options, optionsProvider, os64Bit, osArch, osDescription, osFamily, osName, osVersion
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
GoogleComputeEngineArbitraryCpuRamTemplateBuilderImpl(com.google.common.base.Supplier<Set<? extends Location>> locations, com.google.common.base.Supplier<Set<? extends Image>> images, com.google.common.base.Supplier<Set<? extends Hardware>> hardwares, com.google.common.base.Supplier<Location> defaultLocation, javax.inject.Provider<TemplateOptions> optionsProvider, javax.inject.Provider<TemplateBuilder> defaultTemplateProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Hardware
automaticHardware(double cores, int ram, com.google.common.base.Optional<Float> disk)
-
Methods inherited from class org.jclouds.compute.domain.internal.ArbitraryCpuRamTemplateBuilderImpl
findHardwareWithId, resolveHardware
-
Methods inherited from class org.jclouds.compute.domain.internal.TemplateBuilderImpl
any, biggest, build, fastest, forceCacheReload, from, from, fromHardware, fromImage, fromTemplate, getImages, hardwareId, hardwareSorter, hypervisorMatches, imageChooser, imageChooser, imageDescriptionMatches, imageId, imageMatches, imageNameMatches, imageVersionMatches, locationId, minCores, minDisk, minRam, options, os64Bit, osArchMatches, osDescriptionMatches, osFamily, osNameMatches, osVersionMatches, resolveImage, smallest, string, throwNoSuchElementExceptionAfterLoggingHardwareIds, throwNoSuchElementExceptionAfterLoggingImageIds, toString
-
-
-
-
Constructor Detail
-
GoogleComputeEngineArbitraryCpuRamTemplateBuilderImpl
@Inject protected GoogleComputeEngineArbitraryCpuRamTemplateBuilderImpl(com.google.common.base.Supplier<Set<? extends Location>> locations, com.google.common.base.Supplier<Set<? extends Image>> images, com.google.common.base.Supplier<Set<? extends Hardware>> hardwares, com.google.common.base.Supplier<Location> defaultLocation, @Named("DEFAULT") javax.inject.Provider<TemplateOptions> optionsProvider, @Named("DEFAULT") javax.inject.Provider<TemplateBuilder> defaultTemplateProvider)
-
-
Method Detail
-
automaticHardware
protected Hardware automaticHardware(double cores, int ram, com.google.common.base.Optional<Float> disk)
- Overrides:
automaticHardware
in classArbitraryCpuRamTemplateBuilderImpl
-
-