Interface InstanceFleetModifyConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InstanceFleetModifyConfig.Builder,
,InstanceFleetModifyConfig> SdkBuilder<InstanceFleetModifyConfig.Builder,
,InstanceFleetModifyConfig> SdkPojo
- Enclosing class:
InstanceFleetModifyConfig
-
Method Summary
Modifier and TypeMethodDescriptionReserved.instanceFleetId
(String instanceFleetId) A unique identifier for the instance fleet.instanceTypeConfigs
(Collection<InstanceTypeConfig> instanceTypeConfigs) An array of InstanceTypeConfig objects that specify how Amazon EMR provisions Amazon EC2 instances when it fulfills On-Demand and Spot capacities.instanceTypeConfigs
(Consumer<InstanceTypeConfig.Builder>... instanceTypeConfigs) An array of InstanceTypeConfig objects that specify how Amazon EMR provisions Amazon EC2 instances when it fulfills On-Demand and Spot capacities.instanceTypeConfigs
(InstanceTypeConfig... instanceTypeConfigs) An array of InstanceTypeConfig objects that specify how Amazon EMR provisions Amazon EC2 instances when it fulfills On-Demand and Spot capacities.resizeSpecifications
(Consumer<InstanceFleetResizingSpecifications.Builder> resizeSpecifications) The resize specification for the instance fleet.resizeSpecifications
(InstanceFleetResizingSpecifications resizeSpecifications) The resize specification for the instance fleet.targetOnDemandCapacity
(Integer targetOnDemandCapacity) The target capacity of On-Demand units for the instance fleet.targetSpotCapacity
(Integer targetSpotCapacity) The target capacity of Spot units for the instance fleet.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
instanceFleetId
A unique identifier for the instance fleet.
- Parameters:
instanceFleetId
- A unique identifier for the instance fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetOnDemandCapacity
The target capacity of On-Demand units for the instance fleet. For more information see InstanceFleetConfig$TargetOnDemandCapacity.
- Parameters:
targetOnDemandCapacity
- The target capacity of On-Demand units for the instance fleet. For more information see InstanceFleetConfig$TargetOnDemandCapacity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetSpotCapacity
The target capacity of Spot units for the instance fleet. For more information, see InstanceFleetConfig$TargetSpotCapacity.
- Parameters:
targetSpotCapacity
- The target capacity of Spot units for the instance fleet. For more information, see InstanceFleetConfig$TargetSpotCapacity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resizeSpecifications
InstanceFleetModifyConfig.Builder resizeSpecifications(InstanceFleetResizingSpecifications resizeSpecifications) The resize specification for the instance fleet.
- Parameters:
resizeSpecifications
- The resize specification for the instance fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resizeSpecifications
default InstanceFleetModifyConfig.Builder resizeSpecifications(Consumer<InstanceFleetResizingSpecifications.Builder> resizeSpecifications) The resize specification for the instance fleet.
This is a convenience method that creates an instance of theInstanceFleetResizingSpecifications.Builder
avoiding the need to create one manually viaInstanceFleetResizingSpecifications.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresizeSpecifications(InstanceFleetResizingSpecifications)
.- Parameters:
resizeSpecifications
- a consumer that will call methods onInstanceFleetResizingSpecifications.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceTypeConfigs
InstanceFleetModifyConfig.Builder instanceTypeConfigs(Collection<InstanceTypeConfig> instanceTypeConfigs) An array of InstanceTypeConfig objects that specify how Amazon EMR provisions Amazon EC2 instances when it fulfills On-Demand and Spot capacities. For more information, see InstanceTypeConfig.
- Parameters:
instanceTypeConfigs
- An array of InstanceTypeConfig objects that specify how Amazon EMR provisions Amazon EC2 instances when it fulfills On-Demand and Spot capacities. For more information, see InstanceTypeConfig.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceTypeConfigs
An array of InstanceTypeConfig objects that specify how Amazon EMR provisions Amazon EC2 instances when it fulfills On-Demand and Spot capacities. For more information, see InstanceTypeConfig.
- Parameters:
instanceTypeConfigs
- An array of InstanceTypeConfig objects that specify how Amazon EMR provisions Amazon EC2 instances when it fulfills On-Demand and Spot capacities. For more information, see InstanceTypeConfig.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceTypeConfigs
InstanceFleetModifyConfig.Builder instanceTypeConfigs(Consumer<InstanceTypeConfig.Builder>... instanceTypeConfigs) An array of InstanceTypeConfig objects that specify how Amazon EMR provisions Amazon EC2 instances when it fulfills On-Demand and Spot capacities. For more information, see InstanceTypeConfig.
This is a convenience method that creates an instance of theInstanceTypeConfig.Builder
avoiding the need to create one manually viaInstanceTypeConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstanceTypeConfigs(List<InstanceTypeConfig>)
.- Parameters:
instanceTypeConfigs
- a consumer that will call methods onInstanceTypeConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
context
Reserved.
- Parameters:
context
- Reserved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-