Interface SpotResizingSpecification.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SpotResizingSpecification.Builder,
,SpotResizingSpecification> SdkBuilder<SpotResizingSpecification.Builder,
,SpotResizingSpecification> SdkPojo
- Enclosing class:
SpotResizingSpecification
-
Method Summary
Modifier and TypeMethodDescriptionallocationStrategy
(String allocationStrategy) Specifies the allocation strategy to use to launch Spot instances during a resize.allocationStrategy
(SpotProvisioningAllocationStrategy allocationStrategy) Specifies the allocation strategy to use to launch Spot instances during a resize.timeoutDurationMinutes
(Integer timeoutDurationMinutes) Spot resize timeout in minutes.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, sdkFieldNameToField, sdkFields
-
Method Details
-
timeoutDurationMinutes
Spot resize timeout in minutes. If Spot Instances are not provisioned within this time, the resize workflow will stop provisioning of Spot instances. Minimum value is 5 minutes and maximum value is 10,080 minutes (7 days). The timeout applies to all resize workflows on the Instance Fleet. The resize could be triggered by Amazon EMR Managed Scaling or by the customer (via Amazon EMR Console, Amazon EMR CLI modify-instance-fleet or Amazon EMR SDK ModifyInstanceFleet API) or by Amazon EMR due to Amazon EC2 Spot Reclamation.
- Parameters:
timeoutDurationMinutes
- Spot resize timeout in minutes. If Spot Instances are not provisioned within this time, the resize workflow will stop provisioning of Spot instances. Minimum value is 5 minutes and maximum value is 10,080 minutes (7 days). The timeout applies to all resize workflows on the Instance Fleet. The resize could be triggered by Amazon EMR Managed Scaling or by the customer (via Amazon EMR Console, Amazon EMR CLI modify-instance-fleet or Amazon EMR SDK ModifyInstanceFleet API) or by Amazon EMR due to Amazon EC2 Spot Reclamation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allocationStrategy
Specifies the allocation strategy to use to launch Spot instances during a resize. If you run Amazon EMR releases 6.9.0 or higher, the default is
price-capacity-optimized
. If you run Amazon EMR releases 6.8.0 or lower, the default iscapacity-optimized
.- Parameters:
allocationStrategy
- Specifies the allocation strategy to use to launch Spot instances during a resize. If you run Amazon EMR releases 6.9.0 or higher, the default isprice-capacity-optimized
. If you run Amazon EMR releases 6.8.0 or lower, the default iscapacity-optimized
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
allocationStrategy
SpotResizingSpecification.Builder allocationStrategy(SpotProvisioningAllocationStrategy allocationStrategy) Specifies the allocation strategy to use to launch Spot instances during a resize. If you run Amazon EMR releases 6.9.0 or higher, the default is
price-capacity-optimized
. If you run Amazon EMR releases 6.8.0 or lower, the default iscapacity-optimized
.- Parameters:
allocationStrategy
- Specifies the allocation strategy to use to launch Spot instances during a resize. If you run Amazon EMR releases 6.9.0 or higher, the default isprice-capacity-optimized
. If you run Amazon EMR releases 6.8.0 or lower, the default iscapacity-optimized
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-