public static interface ReleaseHostsRequest.Builder extends EC2Request.Builder, CopyableBuilder<ReleaseHostsRequest.Builder,ReleaseHostsRequest>
Modifier and Type | Method and Description |
---|---|
ReleaseHostsRequest.Builder |
hostIds(Collection<String> hostIds)
The IDs of the Dedicated Hosts you want to release.
|
ReleaseHostsRequest.Builder |
hostIds(String... hostIds)
The IDs of the Dedicated Hosts you want to release.
|
ReleaseHostsRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
ReleaseHostsRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
build
requestOverrideConfig
copy
apply, build
ReleaseHostsRequest.Builder hostIds(Collection<String> hostIds)
The IDs of the Dedicated Hosts you want to release.
hostIds
- The IDs of the Dedicated Hosts you want to release.ReleaseHostsRequest.Builder hostIds(String... hostIds)
The IDs of the Dedicated Hosts you want to release.
hostIds
- The IDs of the Dedicated Hosts you want to release.ReleaseHostsRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.ReleaseHostsRequest.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.