| Package | Description | 
|---|---|
| com.amazonaws.services.ec2 | 
 | 
| com.amazonaws.services.ec2.model | 
| Modifier and Type | Method and Description | 
|---|---|
Future<ModifyInstancePlacementResult> | 
AmazonEC2Async.modifyInstancePlacementAsync(ModifyInstancePlacementRequest modifyInstancePlacementRequest,
                            AsyncHandler<ModifyInstancePlacementRequest,ModifyInstancePlacementResult> asyncHandler)
 Set the instance affinity value for a specific stopped instance and modify the instance tenancy setting. 
 | 
Future<ModifyInstancePlacementResult> | 
AbstractAmazonEC2Async.modifyInstancePlacementAsync(ModifyInstancePlacementRequest request,
                            AsyncHandler<ModifyInstancePlacementRequest,ModifyInstancePlacementResult> asyncHandler)  | 
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 new affinity setting for the instance. 
 | 
ModifyInstancePlacementRequest | 
ModifyInstancePlacementRequest.withAffinity(String affinity)
 The new affinity setting for the instance. 
 | 
ModifyInstancePlacementRequest | 
ModifyInstancePlacementRequest.withHostId(String hostId)
 The ID of the Dedicated Host that the instance will have affinity with. 
 | 
ModifyInstancePlacementRequest | 
ModifyInstancePlacementRequest.withInstanceId(String instanceId)
 The ID of the instance that you are modifying. 
 | 
ModifyInstancePlacementRequest | 
ModifyInstancePlacementRequest.withTenancy(HostTenancy tenancy)
 The tenancy of the instance that you are modifying. 
 | 
ModifyInstancePlacementRequest | 
ModifyInstancePlacementRequest.withTenancy(String tenancy)
 The tenancy of the instance that you are modifying. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Request<ModifyInstancePlacementRequest> | 
ModifyInstancePlacementRequest.getDryRunRequest()
This method is intended for internal use only. 
 | 
Copyright © 2017. All rights reserved.