Package org.jclouds.aws.ec2.options
Class AWSRunInstancesOptions.Builder
- java.lang.Object
-
- org.jclouds.ec2.options.RunInstancesOptions.Builder
-
- org.jclouds.aws.ec2.options.AWSRunInstancesOptions.Builder
-
- Enclosing class:
- AWSRunInstancesOptions
public static class AWSRunInstancesOptions.Builder extends RunInstancesOptions.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
Methods inherited from class org.jclouds.ec2.options.RunInstancesOptions.Builder
withClientToken
-
-
-
-
Method Detail
-
withSecurityGroupId
public static AWSRunInstancesOptions withSecurityGroupId(String securityGroup)
-
inPlacementGroup
public static AWSRunInstancesOptions inPlacementGroup(String placementGroup)
-
withTenancy
public static AWSRunInstancesOptions withTenancy(Tenancy tenancy)
-
withDedicatedHostId
public static AWSRunInstancesOptions withDedicatedHostId(String hostId)
-
enableMonitoring
public static AWSRunInstancesOptions enableMonitoring()
-
withSubnetId
public static AWSRunInstancesOptions withSubnetId(String subnetId)
-
withIAMInstanceProfileArn
public static AWSRunInstancesOptions withIAMInstanceProfileArn(String arn)
-
withIAMInstanceProfileName
public static AWSRunInstancesOptions withIAMInstanceProfileName(String id)
-
withKeyName
public static AWSRunInstancesOptions withKeyName(String keyName)
-
withSecurityGroup
public static AWSRunInstancesOptions withSecurityGroup(String securityGroup)
-
withUserData
public static AWSRunInstancesOptions withUserData(byte[] unencodedData)
-
asType
public static AWSRunInstancesOptions asType(String instanceType)
- See Also:
AWSRunInstancesOptions#asType(InstanceType)
-
withKernelId
public static AWSRunInstancesOptions withKernelId(String kernelId)
-
withRamdisk
public static AWSRunInstancesOptions withRamdisk(String ramdiskId)
-
withBlockDeviceMappings
public static AWSRunInstancesOptions withBlockDeviceMappings(Set<? extends BlockDeviceMapping> mappings)
- See Also:
AWSRunInstancesOptions#withBlockDeviceMappings(Set
mappings)
-
withPrivateIpAdress
public static AWSRunInstancesOptions withPrivateIpAdress(String address)
-
-