public static interface ModifyInstancePlacementRequest.Builder extends EC2Request.Builder, software.amazon.awssdk.utils.builder.CopyableBuilder<ModifyInstancePlacementRequest.Builder,ModifyInstancePlacementRequest>
buildrequestOverrideConfigModifyInstancePlacementRequest.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)
requestOverrideConfig in interface AwsRequest.BuilderModifyInstancePlacementRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
requestOverrideConfig in interface AwsRequest.BuilderCopyright © 2018. All rights reserved.