Package org.jclouds.ec2.compute.domain
Class EC2HardwareBuilder
- java.lang.Object
-
- org.jclouds.domain.ResourceMetadataBuilder<ComputeType>
-
- org.jclouds.compute.domain.ComputeMetadataBuilder
-
- org.jclouds.compute.domain.HardwareBuilder
-
- org.jclouds.ec2.compute.domain.EC2HardwareBuilder
-
public class EC2HardwareBuilder extends HardwareBuilder
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EC2HardwareBuilder.RequiresRootDeviceType
evaluates true if the Image has the following rootDeviceTypestatic class
EC2HardwareBuilder.RequiresVirtualizationType
evaluates true if the Image requires the following virtualizationType
-
Field Summary
-
Fields inherited from class org.jclouds.compute.domain.HardwareBuilder
deprecated, hypervisor, processors, ram, supportsImage, volumes
-
Fields inherited from class org.jclouds.compute.domain.ComputeMetadataBuilder
id, tags, type
-
Fields inherited from class org.jclouds.domain.ResourceMetadataBuilder
location, name, providerId, uri, userMetadata
-
-
Constructor Summary
Constructors Constructor Description EC2HardwareBuilder()
EC2HardwareBuilder(String instanceType)
-
Method Summary
-
Methods inherited from class org.jclouds.compute.domain.HardwareBuilder
deprecated, deprecated, fromHardware, hypervisor, processor, processors, tags, volume, volumes
-
Methods inherited from class org.jclouds.compute.domain.ComputeMetadataBuilder
fromComputeMetadata
-
-
-
-
Constructor Detail
-
EC2HardwareBuilder
public EC2HardwareBuilder()
-
EC2HardwareBuilder
public EC2HardwareBuilder(String instanceType)
-
-
Method Detail
-
virtualizationType
public EC2HardwareBuilder virtualizationType(VirtualizationType virtualizationType)
-
virtualizationTypes
public EC2HardwareBuilder virtualizationTypes(VirtualizationType... virtualizationTypes)
-
rootDeviceType
public EC2HardwareBuilder rootDeviceType(RootDeviceType rootDeviceType)
-
supportsImageIds
public EC2HardwareBuilder supportsImageIds(Iterable<String> ids)
-
ids
public EC2HardwareBuilder ids(String id)
Description copied from class:ComputeMetadataBuilder
set id and providerId to the same value;- Overrides:
ids
in classHardwareBuilder
-
ram
public EC2HardwareBuilder ram(int ram)
- Overrides:
ram
in classHardwareBuilder
-
processors
public EC2HardwareBuilder processors(List<Processor> processors)
-
volumes
public EC2HardwareBuilder volumes(List<Volume> volumes)
-
supportsImage
public EC2HardwareBuilder supportsImage(com.google.common.base.Predicate<Image> supportsImage)
- Overrides:
supportsImage
in classHardwareBuilder
-
is64Bit
public EC2HardwareBuilder is64Bit(boolean is64Bit)
- Overrides:
is64Bit
in classHardwareBuilder
-
id
public EC2HardwareBuilder id(String id)
- Overrides:
id
in classHardwareBuilder
-
providerId
public EC2HardwareBuilder providerId(String providerId)
- Overrides:
providerId
in classHardwareBuilder
-
name
public EC2HardwareBuilder name(String name)
- Overrides:
name
in classHardwareBuilder
-
location
public EC2HardwareBuilder location(Location location)
- Overrides:
location
in classHardwareBuilder
-
uri
public EC2HardwareBuilder uri(URI uri)
- Overrides:
uri
in classHardwareBuilder
-
userMetadata
public EC2HardwareBuilder userMetadata(Map<String,String> userMetadata)
- Overrides:
userMetadata
in classHardwareBuilder
-
m1_small
public static EC2HardwareBuilder m1_small()
- See Also:
InstanceType.M1_SMALL
-
m1_medium
public static EC2HardwareBuilder m1_medium()
- See Also:
InstanceType.M1_MEDIUM
-
t1_micro
public static EC2HardwareBuilder t1_micro()
- See Also:
InstanceType.T1_MICRO
-
t2_nano
public static EC2HardwareBuilder t2_nano()
- See Also:
InstanceType.T2_NANO
-
t2_micro
public static EC2HardwareBuilder t2_micro()
- See Also:
InstanceType.T2_MICRO
-
t2_small
public static EC2HardwareBuilder t2_small()
- See Also:
InstanceType.T2_SMALL
-
t2_medium
public static EC2HardwareBuilder t2_medium()
- See Also:
InstanceType.T2_MEDIUM
-
t2_large
public static EC2HardwareBuilder t2_large()
- See Also:
InstanceType.T2_LARGE
-
t2_xlarge
public static EC2HardwareBuilder t2_xlarge()
- See Also:
InstanceType.T2_XLARGE
-
t2_2xlarge
public static EC2HardwareBuilder t2_2xlarge()
- See Also:
InstanceType.T2_2XLARGE
-
t3_nano
public static EC2HardwareBuilder t3_nano()
- See Also:
InstanceType.T3_NANO
-
t3_micro
public static EC2HardwareBuilder t3_micro()
- See Also:
InstanceType.T3_MICRO
-
t3_small
public static EC2HardwareBuilder t3_small()
- See Also:
InstanceType.T3_SMALL
-
t3_medium
public static EC2HardwareBuilder t3_medium()
- See Also:
InstanceType.T3_MEDIUM
-
t3_large
public static EC2HardwareBuilder t3_large()
- See Also:
InstanceType.T3_LARGE
-
t3_xlarge
public static EC2HardwareBuilder t3_xlarge()
- See Also:
InstanceType.T3_XLARGE
-
t3_2xlarge
public static EC2HardwareBuilder t3_2xlarge()
- See Also:
InstanceType.T3_2XLARGE
-
m1_large
public static EC2HardwareBuilder m1_large()
- See Also:
InstanceType.M1_LARGE
-
m1_xlarge
public static EC2HardwareBuilder m1_xlarge()
- See Also:
InstanceType.M1_XLARGE
-
m2_xlarge
public static EC2HardwareBuilder m2_xlarge()
- See Also:
InstanceType.M2_XLARGE
-
m2_2xlarge
public static EC2HardwareBuilder m2_2xlarge()
- See Also:
InstanceType.M2_2XLARGE
-
m2_4xlarge
public static EC2HardwareBuilder m2_4xlarge()
- See Also:
InstanceType.M2_4XLARGE
-
m3_medium
public static EC2HardwareBuilder m3_medium()
- See Also:
InstanceType.M3_MEDIUM
-
m3_large
public static EC2HardwareBuilder m3_large()
- See Also:
InstanceType.M3_LARGE
-
m3_xlarge
public static EC2HardwareBuilder m3_xlarge()
- See Also:
InstanceType.M3_XLARGE
-
m3_2xlarge
public static EC2HardwareBuilder m3_2xlarge()
- See Also:
InstanceType.M3_2XLARGE
-
m4_xlarge
public static EC2HardwareBuilder m4_xlarge()
- See Also:
InstanceType.M4_XLARGE
-
m4_large
public static EC2HardwareBuilder m4_large()
- See Also:
InstanceType.M4_LARGE
-
m4_2xlarge
public static EC2HardwareBuilder m4_2xlarge()
- See Also:
InstanceType.M4_2XLARGE
-
m4_4xlarge
public static EC2HardwareBuilder m4_4xlarge()
- See Also:
InstanceType.M4_4XLARGE
-
m4_10xlarge
public static EC2HardwareBuilder m4_10xlarge()
- See Also:
InstanceType.M4_10XLARGE
-
m4_16xlarge
public static EC2HardwareBuilder m4_16xlarge()
- See Also:
InstanceType.M4_16XLARGE
-
m5_large
public static EC2HardwareBuilder m5_large()
- See Also:
InstanceType.M5_LARGE
-
m5_xlarge
public static EC2HardwareBuilder m5_xlarge()
- See Also:
InstanceType.M5_XLARGE
-
m5_2xlarge
public static EC2HardwareBuilder m5_2xlarge()
- See Also:
InstanceType.M5_2XLARGE
-
m5_4xlarge
public static EC2HardwareBuilder m5_4xlarge()
- See Also:
InstanceType.M5_4XLARGE
-
m5_12xlarge
public static EC2HardwareBuilder m5_12xlarge()
- See Also:
InstanceType.M5_12XLARGE
-
m5_24xlarge
public static EC2HardwareBuilder m5_24xlarge()
- See Also:
InstanceType.M5_24XLARGE
-
m5d_large
public static EC2HardwareBuilder m5d_large()
- See Also:
InstanceType.M5D_LARGE
-
m5d_xlarge
public static EC2HardwareBuilder m5d_xlarge()
- See Also:
InstanceType.M5D_XLARGE
-
m5d_2xlarge
public static EC2HardwareBuilder m5d_2xlarge()
- See Also:
InstanceType.M5D_2XLARGE
-
m5d_4xlarge
public static EC2HardwareBuilder m5d_4xlarge()
- See Also:
InstanceType.M5D_4XLARGE
-
m5d_12xlarge
public static EC2HardwareBuilder m5d_12xlarge()
- See Also:
InstanceType.M5D_12XLARGE
-
m5d_24xlarge
public static EC2HardwareBuilder m5d_24xlarge()
- See Also:
InstanceType.M5D_24XLARGE
-
c1_medium
public static EC2HardwareBuilder c1_medium()
- See Also:
InstanceType.C1_MEDIUM
-
c1_xlarge
public static EC2HardwareBuilder c1_xlarge()
- See Also:
InstanceType.C1_XLARGE
-
c3_large
public static EC2HardwareBuilder c3_large()
- See Also:
InstanceType.C3_LARGE
-
c3_xlarge
public static EC2HardwareBuilder c3_xlarge()
- See Also:
InstanceType.C3_XLARGE
-
c3_2xlarge
public static EC2HardwareBuilder c3_2xlarge()
- See Also:
InstanceType.C3_2XLARGE
-
c3_4xlarge
public static EC2HardwareBuilder c3_4xlarge()
- See Also:
InstanceType.C3_4XLARGE
-
c3_8xlarge
public static EC2HardwareBuilder c3_8xlarge()
- See Also:
InstanceType.C3_8XLARGE
-
c4_large
public static EC2HardwareBuilder c4_large()
- See Also:
InstanceType.C4_LARGE
-
c4_xlarge
public static EC2HardwareBuilder c4_xlarge()
- See Also:
InstanceType.C4_XLARGE
-
c4_2xlarge
public static EC2HardwareBuilder c4_2xlarge()
- See Also:
InstanceType.C4_2XLARGE
-
c4_4xlarge
public static EC2HardwareBuilder c4_4xlarge()
- See Also:
InstanceType.C4_4XLARGE
-
c4_8xlarge
public static EC2HardwareBuilder c4_8xlarge()
- See Also:
InstanceType.C4_8XLARGE
-
c5_large
public static EC2HardwareBuilder c5_large()
- See Also:
InstanceType.C5_LARGE
-
c5_xlarge
public static EC2HardwareBuilder c5_xlarge()
- See Also:
InstanceType.C5_XLARGE
-
c5_2xlarge
public static EC2HardwareBuilder c5_2xlarge()
- See Also:
InstanceType.C5_2XLARGE
-
c5_4xlarge
public static EC2HardwareBuilder c5_4xlarge()
- See Also:
InstanceType.C5_4XLARGE
-
c5_9xlarge
public static EC2HardwareBuilder c5_9xlarge()
- See Also:
InstanceType.C5_9XLARGE
-
c5_18xlarge
public static EC2HardwareBuilder c5_18xlarge()
- See Also:
InstanceType.C5_18XLARGE
-
c5d_large
public static EC2HardwareBuilder c5d_large()
- See Also:
InstanceType.C5D_LARGE
-
c5d_xlarge
public static EC2HardwareBuilder c5d_xlarge()
- See Also:
InstanceType.C5D_XLARGE
-
c5d_2xlarge
public static EC2HardwareBuilder c5d_2xlarge()
- See Also:
InstanceType.C5D_2XLARGE
-
c5d_4xlarge
public static EC2HardwareBuilder c5d_4xlarge()
- See Also:
InstanceType.C5D_4XLARGE
-
c5d_9xlarge
public static EC2HardwareBuilder c5d_9xlarge()
- See Also:
InstanceType.C5D_9XLARGE
-
c5d_18xlarge
public static EC2HardwareBuilder c5d_18xlarge()
- See Also:
InstanceType.C5D_18XLARGE
-
d2_xlarge
public static EC2HardwareBuilder d2_xlarge()
- See Also:
InstanceType.D2_XLARGE
-
d2_2xlarge
public static EC2HardwareBuilder d2_2xlarge()
- See Also:
InstanceType.D2_2XLARGE
-
d2_4xlarge
public static EC2HardwareBuilder d2_4xlarge()
- See Also:
InstanceType.D2_4XLARGE
-
d2_8xlarge
public static EC2HardwareBuilder d2_8xlarge()
- See Also:
InstanceType.D2_8XLARGE
-
cg1_4xlarge
public static EC2HardwareBuilder cg1_4xlarge()
-
cc1_4xlarge
public static EC2HardwareBuilder cc1_4xlarge()
-
cc2_8xlarge
public static EC2HardwareBuilder cc2_8xlarge()
-
g2_2xlarge
public static EC2HardwareBuilder g2_2xlarge()
- See Also:
InstanceType.G2_2XLARGE
-
i2_xlarge
public static EC2HardwareBuilder i2_xlarge()
- See Also:
InstanceType.I2_XLARGE
-
i2_2xlarge
public static EC2HardwareBuilder i2_2xlarge()
- See Also:
InstanceType.I2_2XLARGE
-
i2_4xlarge
public static EC2HardwareBuilder i2_4xlarge()
- See Also:
InstanceType.I2_4XLARGE
-
i2_8xlarge
public static EC2HardwareBuilder i2_8xlarge()
- See Also:
InstanceType.I2_8XLARGE
-
hi1_4xlarge
public static EC2HardwareBuilder hi1_4xlarge()
-
hs1_8xlarge
public static EC2HardwareBuilder hs1_8xlarge()
-
r3_large
public static EC2HardwareBuilder r3_large()
- See Also:
InstanceType.R3_LARGE
-
r3_xlarge
public static EC2HardwareBuilder r3_xlarge()
- See Also:
InstanceType.R3_XLARGE
-
r3_2xlarge
public static EC2HardwareBuilder r3_2xlarge()
- See Also:
InstanceType.R3_2XLARGE
-
r3_4xlarge
public static EC2HardwareBuilder r3_4xlarge()
- See Also:
InstanceType.R3_4XLARGE
-
r3_8xlarge
public static EC2HardwareBuilder r3_8xlarge()
- See Also:
InstanceType.R3_8XLARGE
-
r4_large
public static EC2HardwareBuilder r4_large()
- See Also:
InstanceType.R4_LARGE
-
r4_xlarge
public static EC2HardwareBuilder r4_xlarge()
- See Also:
InstanceType.R4_XLARGE
-
r4_2xlarge
public static EC2HardwareBuilder r4_2xlarge()
- See Also:
InstanceType.R4_2XLARGE
-
r4_4xlarge
public static EC2HardwareBuilder r4_4xlarge()
- See Also:
InstanceType.R4_4XLARGE
-
r4_8xlarge
public static EC2HardwareBuilder r4_8xlarge()
- See Also:
InstanceType.R4_8XLARGE
-
r4_16xlarge
public static EC2HardwareBuilder r4_16xlarge()
- See Also:
InstanceType.R4_16XLARGE
-
x1_16xlarge
public static EC2HardwareBuilder x1_16xlarge()
- See Also:
InstanceType.X1_16XLARGE
-
x1_32xlarge
public static EC2HardwareBuilder x1_32xlarge()
- See Also:
InstanceType.X1_32XLARGE
-
a1_medium
public static EC2HardwareBuilder a1_medium()
- See Also:
InstanceType.A1_MEDIUM
-
a1_large
public static EC2HardwareBuilder a1_large()
- See Also:
InstanceType.A1_LARGE
-
a1_xlarge
public static EC2HardwareBuilder a1_xlarge()
- See Also:
InstanceType.A1_XLARGE
-
a1_2xlarge
public static EC2HardwareBuilder a1_2xlarge()
- See Also:
InstanceType.A1_2XLARGE
-
a1_4xlarge
public static EC2HardwareBuilder a1_4xlarge()
- See Also:
InstanceType.A1_4XLARGE
-
build
public Hardware build()
- Overrides:
build
in classHardwareBuilder
-
-