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 |
hostMaintenance(HostMaintenance hostMaintenance)
Indicates whether to enable or disable host maintenance for the Dedicated Host.
|
ModifyHostsRequest.Builder |
hostMaintenance(String hostMaintenance)
Indicates whether to enable or disable host maintenance for the Dedicated Host.
|
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) |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildModifyHostsRequest.Builder autoPlacement(String autoPlacement)
Specify whether to enable or disable auto-placement.
autoPlacement - Specify whether to enable or disable auto-placement.AutoPlacement,
AutoPlacementModifyHostsRequest.Builder autoPlacement(AutoPlacement autoPlacement)
Specify whether to enable or disable auto-placement.
autoPlacement - Specify whether to enable or disable auto-placement.AutoPlacement,
AutoPlacementModifyHostsRequest.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,
HostRecoveryModifyHostsRequest.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,
HostRecoveryModifyHostsRequest.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 hostMaintenance(String hostMaintenance)
Indicates whether to enable or disable host maintenance for the Dedicated Host. For more information, see Host maintenance in the Amazon EC2 User Guide.
hostMaintenance - Indicates whether to enable or disable host maintenance for the Dedicated Host. For more information,
see
Host maintenance in the Amazon EC2 User Guide.HostMaintenance,
HostMaintenanceModifyHostsRequest.Builder hostMaintenance(HostMaintenance hostMaintenance)
Indicates whether to enable or disable host maintenance for the Dedicated Host. For more information, see Host maintenance in the Amazon EC2 User Guide.
hostMaintenance - Indicates whether to enable or disable host maintenance for the Dedicated Host. For more information,
see
Host maintenance in the Amazon EC2 User Guide.HostMaintenance,
HostMaintenanceModifyHostsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderModifyHostsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.