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
- Author:
- Adrian Cole
- See Also:
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EC2HardwareBuilder
public EC2HardwareBuilder()
EC2HardwareBuilder
public EC2HardwareBuilder(String instanceType)
virtualizationType
public EC2HardwareBuilder virtualizationType(VirtualizationType virtualizationType)
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 class HardwareBuilder
ram
public EC2HardwareBuilder ram(int ram)
- Overrides:
ram
in class HardwareBuilder
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 class HardwareBuilder
is64Bit
public EC2HardwareBuilder is64Bit(boolean is64Bit)
- Overrides:
is64Bit
in class HardwareBuilder
id
public EC2HardwareBuilder id(String id)
- Overrides:
id
in class HardwareBuilder
providerId
public EC2HardwareBuilder providerId(String providerId)
- Overrides:
providerId
in class HardwareBuilder
name
public EC2HardwareBuilder name(String name)
- Overrides:
name
in class HardwareBuilder
location
public EC2HardwareBuilder location(Location location)
- Overrides:
location
in class HardwareBuilder
uri
public EC2HardwareBuilder uri(URI uri)
- Overrides:
uri
in class HardwareBuilder
userMetadata
public EC2HardwareBuilder userMetadata(Map<String,String> userMetadata)
- Overrides:
userMetadata
in class HardwareBuilder
m1_small32
public static EC2HardwareBuilder m1_small32()
- See Also:
InstanceType.M1_SMALL
m1_small
public static EC2HardwareBuilder m1_small()
- See Also:
InstanceType.M1_SMALL
t1_micro
public static EC2HardwareBuilder t1_micro()
- See Also:
InstanceType.T1_MICRO
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
c1_medium
public static EC2HardwareBuilder c1_medium()
- See Also:
InstanceType.C1_MEDIUM
c1_xlarge
public static EC2HardwareBuilder c1_xlarge()
- See Also:
InstanceType.C1_XLARGE
cc1_4xlarge
public static EC2HardwareBuilder cc1_4xlarge()
build
public Hardware build()
- Overrides:
build
in class HardwareBuilder
Copyright © 2009-2011 jclouds. All Rights Reserved.