Interface ModifyHostsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ModifyHostsRequest.Builder,ModifyHostsRequest>
,Ec2Request.Builder
,SdkBuilder<ModifyHostsRequest.Builder,ModifyHostsRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- ModifyHostsRequest
public static interface ModifyHostsRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<ModifyHostsRequest.Builder,ModifyHostsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ModifyHostsRequest.Builder
autoPlacement(String autoPlacement)
Specify whether to enable or disable auto-placement.ModifyHostsRequest.Builder
autoPlacement(AutoPlacement autoPlacement)
Specify whether to enable or disable auto-placement.ModifyHostsRequest.Builder
hostIds(String... hostIds)
The IDs of the Dedicated Hosts to modify.ModifyHostsRequest.Builder
hostIds(Collection<String> hostIds)
The IDs of the Dedicated Hosts to modify.ModifyHostsRequest.Builder
hostMaintenance(String hostMaintenance)
Indicates whether to enable or disable host maintenance for the Dedicated Host.ModifyHostsRequest.Builder
hostMaintenance(HostMaintenance hostMaintenance)
Indicates whether to enable or disable host maintenance for the Dedicated Host.ModifyHostsRequest.Builder
hostRecovery(String hostRecovery)
Indicates whether to enable or disable host recovery for the Dedicated Host.ModifyHostsRequest.Builder
hostRecovery(HostRecovery 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(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
ModifyHostsRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
autoPlacement
ModifyHostsRequest.Builder autoPlacement(String autoPlacement)
Specify whether to enable or disable auto-placement.
- Parameters:
autoPlacement
- Specify whether to enable or disable auto-placement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AutoPlacement
,AutoPlacement
-
autoPlacement
ModifyHostsRequest.Builder autoPlacement(AutoPlacement autoPlacement)
Specify whether to enable or disable auto-placement.
- Parameters:
autoPlacement
- Specify whether to enable or disable auto-placement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AutoPlacement
,AutoPlacement
-
hostIds
ModifyHostsRequest.Builder hostIds(Collection<String> hostIds)
The IDs of the Dedicated Hosts to modify.
- Parameters:
hostIds
- The IDs of the Dedicated Hosts to modify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostIds
ModifyHostsRequest.Builder hostIds(String... hostIds)
The IDs of the Dedicated Hosts to modify.
- Parameters:
hostIds
- The IDs of the Dedicated Hosts to modify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostRecovery
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
HostRecovery
,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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
HostRecovery
,HostRecovery
-
instanceType
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceFamily
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostMaintenance
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
HostMaintenance
,HostMaintenance
-
hostMaintenance
ModifyHostsRequest.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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
HostMaintenance
,HostMaintenance
-
overrideConfiguration
ModifyHostsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
ModifyHostsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-