public class EC2HardwareBuilder extends HardwareBuilder
Modifier and Type | Class and Description |
---|---|
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
|
deprecated, hypervisor, processors, ram, supportsImage, volumes
id, tags, type
location, name, providerId, uri, userMetadata
Constructor and Description |
---|
EC2HardwareBuilder() |
EC2HardwareBuilder(String instanceType) |
deprecated, deprecated, fromHardware, hypervisor, processor, processors, tags, volume, volumes
fromComputeMetadata
public EC2HardwareBuilder()
public EC2HardwareBuilder(String instanceType)
public EC2HardwareBuilder virtualizationType(VirtualizationType virtualizationType)
public EC2HardwareBuilder virtualizationTypes(VirtualizationType... virtualizationTypes)
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 t2_micro()
InstanceType.T2_MICRO
public static EC2HardwareBuilder t2_small()
InstanceType.T2_SMALL
public static EC2HardwareBuilder t2_medium()
InstanceType.T2_MEDIUM
public static EC2HardwareBuilder t2_large()
InstanceType.T2_LARGE
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 m3_medium()
InstanceType.M3_MEDIUM
public static EC2HardwareBuilder m3_large()
InstanceType.M3_LARGE
public static EC2HardwareBuilder m3_xlarge()
InstanceType.M3_XLARGE
public static EC2HardwareBuilder m3_2xlarge()
InstanceType.M3_2XLARGE
public static EC2HardwareBuilder m4_xlarge()
InstanceType.M4_XLARGE
public static EC2HardwareBuilder m4_large()
InstanceType.M4_LARGE
public static EC2HardwareBuilder m4_2xlarge()
InstanceType.M4_2XLARGE
public static EC2HardwareBuilder m4_4xlarge()
InstanceType.M4_4XLARGE
public static EC2HardwareBuilder m4_10xlarge()
InstanceType.M4_10XLARGE
public static EC2HardwareBuilder c1_medium()
InstanceType.C1_MEDIUM
public static EC2HardwareBuilder c1_xlarge()
InstanceType.C1_XLARGE
public static EC2HardwareBuilder c3_large()
InstanceType.C3_LARGE
public static EC2HardwareBuilder c3_xlarge()
InstanceType.C3_XLARGE
public static EC2HardwareBuilder c3_2xlarge()
InstanceType.C3_2XLARGE
public static EC2HardwareBuilder c3_4xlarge()
InstanceType.C3_4XLARGE
public static EC2HardwareBuilder c3_8xlarge()
InstanceType.C3_8XLARGE
public static EC2HardwareBuilder c4_large()
InstanceType.C4_LARGE
public static EC2HardwareBuilder c4_xlarge()
InstanceType.C4_XLARGE
public static EC2HardwareBuilder c4_2xlarge()
InstanceType.C4_2XLARGE
public static EC2HardwareBuilder c4_4xlarge()
InstanceType.C4_4XLARGE
public static EC2HardwareBuilder c4_8xlarge()
InstanceType.C4_8XLARGE
public static EC2HardwareBuilder d2_xlarge()
InstanceType.D2_XLARGE
public static EC2HardwareBuilder d2_2xlarge()
InstanceType.D2_2XLARGE
public static EC2HardwareBuilder d2_4xlarge()
InstanceType.D2_4XLARGE
public static EC2HardwareBuilder d2_8xlarge()
InstanceType.D2_8XLARGE
public static EC2HardwareBuilder cg1_4xlarge()
public static EC2HardwareBuilder cc1_4xlarge()
public static EC2HardwareBuilder cc2_8xlarge()
public static EC2HardwareBuilder g2_2xlarge()
InstanceType.G2_2XLARGE
public static EC2HardwareBuilder i2_xlarge()
InstanceType.I2_XLARGE
public static EC2HardwareBuilder i2_2xlarge()
InstanceType.I2_2XLARGE
public static EC2HardwareBuilder i2_4xlarge()
InstanceType.I2_4XLARGE
public static EC2HardwareBuilder i2_8xlarge()
InstanceType.I2_8XLARGE
public static EC2HardwareBuilder hi1_4xlarge()
public static EC2HardwareBuilder hs1_8xlarge()
public static EC2HardwareBuilder r3_large()
InstanceType.R3_LARGE
public static EC2HardwareBuilder r3_xlarge()
InstanceType.R3_XLARGE
public static EC2HardwareBuilder r3_2xlarge()
InstanceType.R3_2XLARGE
public static EC2HardwareBuilder r3_4xlarge()
InstanceType.R3_4XLARGE
public static EC2HardwareBuilder r3_8xlarge()
InstanceType.R3_8XLARGE
public Hardware build()
build
in class HardwareBuilder
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.