public static class AWSRunInstancesOptions.Builder extends RunInstancesOptions.Builder
Constructor and Description |
---|
AWSRunInstancesOptions.Builder() |
withClientToken
public static AWSRunInstancesOptions withSecurityGroupId(String securityGroup)
public static AWSRunInstancesOptions inPlacementGroup(String placementGroup)
public static AWSRunInstancesOptions withTenancy(Tenancy tenancy)
public static AWSRunInstancesOptions withDedicatedHostId(String hostId)
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-2018 The Apache Software Foundation. All Rights Reserved.