Interface ModifyHostsRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<ModifyHostsRequest.Builder,,- ModifyHostsRequest> - Ec2Request.Builder,- SdkBuilder<ModifyHostsRequest.Builder,,- ModifyHostsRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- ModifyHostsRequest
- 
Method SummaryModifier and TypeMethodDescriptionautoPlacement(String autoPlacement) Specify whether to enable or disable auto-placement.autoPlacement(AutoPlacement autoPlacement) Specify whether to enable or disable auto-placement.The IDs of the Dedicated Hosts to modify.hostIds(Collection<String> hostIds) The IDs of the Dedicated Hosts to modify.hostMaintenance(String hostMaintenance) Indicates whether to enable or disable host maintenance for the Dedicated Host.hostMaintenance(HostMaintenance hostMaintenance) Indicates whether to enable or disable host maintenance for the Dedicated Host.hostRecovery(String hostRecovery) Indicates whether to enable or disable host recovery for the Dedicated Host.hostRecovery(HostRecovery hostRecovery) Indicates whether to enable or disable host recovery for the Dedicated Host.instanceFamily(String instanceFamily) Specifies the instance family to be supported by the Dedicated Host.instanceType(String instanceType) Specifies the instance type to be supported by the Dedicated Host.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
hostRecoveryIndicates 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:
 
- 
hostRecoveryIndicates 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:
 
- 
instanceTypeSpecifies 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.
 
- 
instanceFamilySpecifies 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.
 
- 
hostMaintenanceIndicates 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:
 
- 
hostMaintenanceIndicates 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:
 
- 
hostIdsThe 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.
 
- 
hostIdsThe 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.
 
- 
autoPlacementSpecify 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:
 
- 
autoPlacementSpecify 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:
 
- 
overrideConfigurationModifyHostsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationModifyHostsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-