public static interface ModifyHostsRequest.Builder extends EC2Request.Builder, CopyableBuilder<ModifyHostsRequest.Builder,ModifyHostsRequest>
Modifier and Type | Method and Description |
---|---|
ModifyHostsRequest.Builder |
autoPlacement(AutoPlacement autoPlacement)
Specify whether to enable or disable auto-placement.
|
ModifyHostsRequest.Builder |
autoPlacement(String autoPlacement)
Specify whether to enable or disable auto-placement.
|
ModifyHostsRequest.Builder |
hostIds(Collection<String> hostIds)
The host IDs of the Dedicated Hosts you want to modify.
|
ModifyHostsRequest.Builder |
hostIds(String... hostIds)
The host IDs of the Dedicated Hosts you want to modify.
|
ModifyHostsRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
ModifyHostsRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
build
requestOverrideConfig
copy
apply, build
ModifyHostsRequest.Builder autoPlacement(String autoPlacement)
Specify whether to enable or disable auto-placement.
autoPlacement
- Specify whether to enable or disable auto-placement.AutoPlacement
,
AutoPlacement
ModifyHostsRequest.Builder autoPlacement(AutoPlacement autoPlacement)
Specify whether to enable or disable auto-placement.
autoPlacement
- Specify whether to enable or disable auto-placement.AutoPlacement
,
AutoPlacement
ModifyHostsRequest.Builder hostIds(Collection<String> hostIds)
The host IDs of the Dedicated Hosts you want to modify.
hostIds
- The host IDs of the Dedicated Hosts you want to modify.ModifyHostsRequest.Builder hostIds(String... hostIds)
The host IDs of the Dedicated Hosts you want to modify.
hostIds
- The host IDs of the Dedicated Hosts you want to modify.ModifyHostsRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.ModifyHostsRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.