Package org.jclouds.ec2.options
Class RunInstancesOptions.Builder
- java.lang.Object
-
- org.jclouds.ec2.options.RunInstancesOptions.Builder
-
- Direct Known Subclasses:
AWSRunInstancesOptions.Builder
- Enclosing class:
- RunInstancesOptions
public static class RunInstancesOptions.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RunInstancesOptions
asType(String instanceType)
static RunInstancesOptions
withBlockDeviceMappings(Set<? extends BlockDeviceMapping> mappings)
static RunInstancesOptions
withClientToken(String clientToken)
static RunInstancesOptions
withKernelId(String kernelId)
static RunInstancesOptions
withKeyName(String keyName)
static RunInstancesOptions
withRamdisk(String ramdiskId)
static RunInstancesOptions
withSecurityGroup(String securityGroup)
static RunInstancesOptions
withUserData(byte[] unencodedData)
-
-
-
Method Detail
-
withKeyName
public static RunInstancesOptions withKeyName(String keyName)
- See Also:
RunInstancesOptions.withKeyName(String)
-
withSecurityGroup
public static RunInstancesOptions withSecurityGroup(String securityGroup)
-
withUserData
public static RunInstancesOptions withUserData(byte[] unencodedData)
-
asType
public static RunInstancesOptions asType(String instanceType)
- See Also:
RunInstancesOptions.asType(String)
-
withKernelId
public static RunInstancesOptions withKernelId(String kernelId)
- See Also:
RunInstancesOptions.withKernelId(String)
-
withRamdisk
public static RunInstancesOptions withRamdisk(String ramdiskId)
- See Also:
RunInstancesOptions.withRamdisk(String)
-
withBlockDeviceMappings
public static RunInstancesOptions withBlockDeviceMappings(Set<? extends BlockDeviceMapping> mappings)
- See Also:
RunInstancesOptions#withBlockDeviceMappings(Set
mappings)
-
withClientToken
public static RunInstancesOptions withClientToken(String clientToken)
-
-