public class EC2HardwareBuilder extends HardwareBuilder
Modifier and Type | Class and Description |
---|---|
static class |
EC2HardwareBuilder.IsWindows |
static class |
EC2HardwareBuilder.RequiresRootDeviceType
evaluates true if the Image has the following rootDeviceType
|
static class |
EC2HardwareBuilder.RequiresVirtualizationType
evaluates true if the Image requires the following virtualizationType
|
hypervisor, processors, ram, supportsImage, volumes
id, tags, type
location, name, providerId, uri, userMetadata
Constructor and Description |
---|
EC2HardwareBuilder() |
EC2HardwareBuilder(String instanceType) |
fromHardware, hypervisor, processor, processors, tags, volume, volumes
fromComputeMetadata
public EC2HardwareBuilder()
public EC2HardwareBuilder(String instanceType)
public EC2HardwareBuilder virtualizationType(VirtualizationType virtualizationType)
public EC2HardwareBuilder rootDeviceType(RootDeviceType rootDeviceType)
public EC2HardwareBuilder supportsImageIds(Iterable<String> ids)
public EC2HardwareBuilder ids(String id)
ComputeMetadataBuilder
ids
in class HardwareBuilder
public EC2HardwareBuilder ram(int ram)
ram
in class HardwareBuilder
public EC2HardwareBuilder processors(List<Processor> processors)
public EC2HardwareBuilder volumes(List<Volume> volumes)
public EC2HardwareBuilder supportsImage(com.google.common.base.Predicate<Image> supportsImage)
supportsImage
in class HardwareBuilder
public EC2HardwareBuilder is64Bit(boolean is64Bit)
is64Bit
in class HardwareBuilder
public EC2HardwareBuilder id(String id)
id
in class HardwareBuilder
public EC2HardwareBuilder providerId(String providerId)
providerId
in class HardwareBuilder
public EC2HardwareBuilder name(String name)
name
in class HardwareBuilder
public EC2HardwareBuilder location(Location location)
location
in class HardwareBuilder
public EC2HardwareBuilder uri(URI uri)
uri
in class HardwareBuilder
public EC2HardwareBuilder userMetadata(Map<String,String> userMetadata)
userMetadata
in class HardwareBuilder
public static EC2HardwareBuilder m1_small()
InstanceType.M1_SMALL
public static EC2HardwareBuilder m1_medium()
InstanceType.M1_MEDIUM
public static EC2HardwareBuilder t1_micro()
InstanceType.T1_MICRO
public static EC2HardwareBuilder m1_large()
InstanceType.M1_LARGE
public static EC2HardwareBuilder m1_xlarge()
InstanceType.M1_XLARGE
public static EC2HardwareBuilder m2_xlarge()
InstanceType.M2_XLARGE
public static EC2HardwareBuilder m2_2xlarge()
InstanceType.M2_2XLARGE
public static EC2HardwareBuilder m2_4xlarge()
InstanceType.M2_4XLARGE
public static EC2HardwareBuilder c1_medium()
InstanceType.C1_MEDIUM
public static EC2HardwareBuilder c1_xlarge()
InstanceType.C1_XLARGE
public static EC2HardwareBuilder cg1_4xlarge()
public static EC2HardwareBuilder cc1_4xlarge()
public static EC2HardwareBuilder cc2_8xlarge()
public static EC2HardwareBuilder hi1_4xlarge()
public Hardware build()
build
in class HardwareBuilder
Copyright © 2009-2013 jclouds. All Rights Reserved.