public static class AWSRunInstancesOptions.Builder extends RunInstancesOptions.Builder
Constructor and Description |
---|
AWSRunInstancesOptions.Builder() |
Modifier and Type | Method and Description |
---|---|
static AWSRunInstancesOptions |
asType(String instanceType) |
static AWSRunInstancesOptions |
enableMonitoring() |
static AWSRunInstancesOptions |
inPlacementGroup(String placementGroup) |
static AWSRunInstancesOptions |
withBlockDeviceMappings(Set<? extends BlockDeviceMapping> mappings) |
static AWSRunInstancesOptions |
withIAMInstanceProfileArn(String arn) |
static AWSRunInstancesOptions |
withIAMInstanceProfileName(String id) |
static AWSRunInstancesOptions |
withKernelId(String kernelId) |
static AWSRunInstancesOptions |
withKeyName(String keyName) |
static AWSRunInstancesOptions |
withPrivateIpAdress(String address) |
static AWSRunInstancesOptions |
withRamdisk(String ramdiskId) |
static AWSRunInstancesOptions |
withSecurityGroup(String securityGroup) |
static AWSRunInstancesOptions |
withSecurityGroupId(String securityGroup) |
static AWSRunInstancesOptions |
withSubnetId(String subnetId) |
static AWSRunInstancesOptions |
withUserData(byte[] unencodedData) |
withClientToken
public static AWSRunInstancesOptions withSecurityGroupId(String securityGroup)
public static AWSRunInstancesOptions inPlacementGroup(String placementGroup)
public static AWSRunInstancesOptions enableMonitoring()
public static AWSRunInstancesOptions withSubnetId(String subnetId)
public static AWSRunInstancesOptions withIAMInstanceProfileArn(String arn)
public static AWSRunInstancesOptions withIAMInstanceProfileName(String id)
public static AWSRunInstancesOptions withKeyName(String keyName)
public static AWSRunInstancesOptions withSecurityGroup(String securityGroup)
public static AWSRunInstancesOptions withUserData(byte[] unencodedData)
public static AWSRunInstancesOptions asType(String instanceType)
AWSRunInstancesOptions#asType(InstanceType)
public static AWSRunInstancesOptions withKernelId(String kernelId)
public static AWSRunInstancesOptions withRamdisk(String ramdiskId)
public static AWSRunInstancesOptions withBlockDeviceMappings(Set<? extends BlockDeviceMapping> mappings)
AWSRunInstancesOptions#withBlockDeviceMappings(Set mappings)
public static AWSRunInstancesOptions withPrivateIpAdress(String address)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.