public static interface ModifyHostsRequest.Builder extends Ec2Request.Builder, SdkPojo, 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 IDs of the Dedicated Hosts to modify.
|
ModifyHostsRequest.Builder |
hostIds(String... hostIds)
The IDs of the Dedicated Hosts to modify.
|
ModifyHostsRequest.Builder |
hostRecovery(HostRecovery hostRecovery)
Indicates whether to enable or disable host recovery for the Dedicated Host.
|
ModifyHostsRequest.Builder |
hostRecovery(String hostRecovery)
Indicates whether to enable or disable host recovery for the Dedicated Host.
|
ModifyHostsRequest.Builder |
instanceFamily(String instanceFamily)
Specifies the instance family to be supported by the Dedicated Host.
|
ModifyHostsRequest.Builder |
instanceType(String instanceType)
Specifies the instance type to be supported by the Dedicated Host.
|
ModifyHostsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
ModifyHostsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, 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 IDs of the Dedicated Hosts to modify.
hostIds
- The IDs of the Dedicated Hosts to modify.ModifyHostsRequest.Builder hostIds(String... hostIds)
The IDs of the Dedicated Hosts to modify.
hostIds
- The IDs of the Dedicated Hosts to modify.ModifyHostsRequest.Builder hostRecovery(String hostRecovery)
Indicates whether to enable or disable host recovery for the Dedicated Host. For more information, see Host recovery in the Amazon EC2 User Guide.
hostRecovery
- Indicates whether to enable or disable host recovery for the Dedicated Host. For more information, see
Host
recovery in the Amazon EC2 User Guide.HostRecovery
,
HostRecovery
ModifyHostsRequest.Builder hostRecovery(HostRecovery hostRecovery)
Indicates whether to enable or disable host recovery for the Dedicated Host. For more information, see Host recovery in the Amazon EC2 User Guide.
hostRecovery
- Indicates whether to enable or disable host recovery for the Dedicated Host. For more information, see
Host
recovery in the Amazon EC2 User Guide.HostRecovery
,
HostRecovery
ModifyHostsRequest.Builder instanceType(String instanceType)
Specifies the instance type to be supported by the Dedicated Host. Specify this parameter to modify a Dedicated Host to support only a specific instance type.
If you want to modify a Dedicated Host to support multiple instance types in its current instance family, omit this parameter and specify InstanceFamily instead. You cannot specify InstanceType and InstanceFamily in the same request.
instanceType
- Specifies the instance type to be supported by the Dedicated Host. Specify this parameter to modify a
Dedicated Host to support only a specific instance type.
If you want to modify a Dedicated Host to support multiple instance types in its current instance family, omit this parameter and specify InstanceFamily instead. You cannot specify InstanceType and InstanceFamily in the same request.
ModifyHostsRequest.Builder instanceFamily(String instanceFamily)
Specifies the instance family to be supported by the Dedicated Host. Specify this parameter to modify a Dedicated Host to support multiple instance types within its current instance family.
If you want to modify a Dedicated Host to support a specific instance type only, omit this parameter and specify InstanceType instead. You cannot specify InstanceFamily and InstanceType in the same request.
instanceFamily
- Specifies the instance family to be supported by the Dedicated Host. Specify this parameter to modify
a Dedicated Host to support multiple instance types within its current instance family.
If you want to modify a Dedicated Host to support a specific instance type only, omit this parameter and specify InstanceType instead. You cannot specify InstanceFamily and InstanceType in the same request.
ModifyHostsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
ModifyHostsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2022. All rights reserved.