| Package | Description | 
|---|---|
| com.amazonaws.services.ec2 |  | 
| com.amazonaws.services.ec2.model | 
| Modifier and Type | Method and Description | 
|---|---|
| Future<ModifyInstancePlacementResult> | AbstractAmazonEC2Async. modifyInstancePlacementAsync(ModifyInstancePlacementRequest request,
                            AsyncHandler<ModifyInstancePlacementRequest,ModifyInstancePlacementResult> asyncHandler) | 
| Future<ModifyInstancePlacementResult> | AmazonEC2Async. modifyInstancePlacementAsync(ModifyInstancePlacementRequest modifyInstancePlacementRequest,
                            AsyncHandler<ModifyInstancePlacementRequest,ModifyInstancePlacementResult> asyncHandler)
 Modifies the placement attributes for a specified instance. | 
| Future<ModifyInstancePlacementResult> | AmazonEC2AsyncClient. modifyInstancePlacementAsync(ModifyInstancePlacementRequest request,
                            AsyncHandler<ModifyInstancePlacementRequest,ModifyInstancePlacementResult> asyncHandler) | 
| Modifier and Type | Method and Description | 
|---|---|
| ModifyInstancePlacementRequest | ModifyInstancePlacementRequest. clone() | 
| ModifyInstancePlacementRequest | ModifyInstancePlacementRequest. withAffinity(Affinity affinity)
 The affinity setting for the instance. | 
| ModifyInstancePlacementRequest | ModifyInstancePlacementRequest. withAffinity(String affinity)
 The affinity setting for the instance. | 
| ModifyInstancePlacementRequest | ModifyInstancePlacementRequest. withGroupName(String groupName)
 The name of the placement group in which to place the instance. | 
| ModifyInstancePlacementRequest | ModifyInstancePlacementRequest. withHostId(String hostId)
 The ID of the Dedicated Host with which to associate the instance. | 
| ModifyInstancePlacementRequest | ModifyInstancePlacementRequest. withHostResourceGroupArn(String hostResourceGroupArn)
 The ARN of the host resource group in which to place the instance. | 
| ModifyInstancePlacementRequest | ModifyInstancePlacementRequest. withInstanceId(String instanceId)
 The ID of the instance that you are modifying. | 
| ModifyInstancePlacementRequest | ModifyInstancePlacementRequest. withPartitionNumber(Integer partitionNumber)
 The number of the partition in which to place the instance. | 
| ModifyInstancePlacementRequest | ModifyInstancePlacementRequest. withTenancy(HostTenancy tenancy)
 The tenancy for the instance. | 
| ModifyInstancePlacementRequest | ModifyInstancePlacementRequest. withTenancy(String tenancy)
 The tenancy for the instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| Request<ModifyInstancePlacementRequest> | ModifyInstancePlacementRequest. getDryRunRequest()This method is intended for internal use only. | 
Copyright © 2022. All rights reserved.