public static interface ModifyInstancePlacementRequest.Builder extends EC2Request.Builder, CopyableBuilder<ModifyInstancePlacementRequest.Builder,ModifyInstancePlacementRequest>
| Modifier and Type | Method and Description |
|---|---|
ModifyInstancePlacementRequest.Builder |
affinity(Affinity affinity)
The new affinity setting for the instance.
|
ModifyInstancePlacementRequest.Builder |
affinity(String affinity)
The new affinity setting for the instance.
|
ModifyInstancePlacementRequest.Builder |
hostId(String hostId)
The ID of the Dedicated Host that the instance will have affinity with.
|
ModifyInstancePlacementRequest.Builder |
instanceId(String instanceId)
The ID of the instance that you are modifying.
|
ModifyInstancePlacementRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
ModifyInstancePlacementRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
ModifyInstancePlacementRequest.Builder |
tenancy(HostTenancy tenancy)
The tenancy of the instance that you are modifying.
|
ModifyInstancePlacementRequest.Builder |
tenancy(String tenancy)
The tenancy of the instance that you are modifying.
|
buildrequestOverrideConfigcopyapply, buildModifyInstancePlacementRequest.Builder affinity(String affinity)
The new affinity setting for the instance.
ModifyInstancePlacementRequest.Builder affinity(Affinity affinity)
The new affinity setting for the instance.
ModifyInstancePlacementRequest.Builder hostId(String hostId)
The ID of the Dedicated Host that the instance will have affinity with.
hostId - The ID of the Dedicated Host that the instance will have affinity with.ModifyInstancePlacementRequest.Builder instanceId(String instanceId)
The ID of the instance that you are modifying.
instanceId - The ID of the instance that you are modifying.ModifyInstancePlacementRequest.Builder tenancy(String tenancy)
The tenancy of the instance that you are modifying.
tenancy - The tenancy of the instance that you are modifying.HostTenancy,
HostTenancyModifyInstancePlacementRequest.Builder tenancy(HostTenancy tenancy)
The tenancy of the instance that you are modifying.
tenancy - The tenancy of the instance that you are modifying.HostTenancy,
HostTenancyModifyInstancePlacementRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.ModifyInstancePlacementRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.