Interface InstanceFleetResizingSpecifications.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InstanceFleetResizingSpecifications.Builder,InstanceFleetResizingSpecifications>,SdkBuilder<InstanceFleetResizingSpecifications.Builder,InstanceFleetResizingSpecifications>,SdkPojo
- Enclosing class:
- InstanceFleetResizingSpecifications
public static interface InstanceFleetResizingSpecifications.Builder extends SdkPojo, CopyableBuilder<InstanceFleetResizingSpecifications.Builder,InstanceFleetResizingSpecifications>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default InstanceFleetResizingSpecifications.BuilderonDemandResizeSpecification(Consumer<OnDemandResizingSpecification.Builder> onDemandResizeSpecification)The resize specification for On-Demand Instances in the instance fleet, which contains the allocation strategy, capacity reservation options, and the resize timeout period.InstanceFleetResizingSpecifications.BuilderonDemandResizeSpecification(OnDemandResizingSpecification onDemandResizeSpecification)The resize specification for On-Demand Instances in the instance fleet, which contains the allocation strategy, capacity reservation options, and the resize timeout period.default InstanceFleetResizingSpecifications.BuilderspotResizeSpecification(Consumer<SpotResizingSpecification.Builder> spotResizeSpecification)The resize specification for Spot Instances in the instance fleet, which contains the allocation strategy and the resize timeout period.InstanceFleetResizingSpecifications.BuilderspotResizeSpecification(SpotResizingSpecification spotResizeSpecification)The resize specification for Spot Instances in the instance fleet, which contains the allocation strategy and the resize timeout period.-
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 Detail
-
spotResizeSpecification
InstanceFleetResizingSpecifications.Builder spotResizeSpecification(SpotResizingSpecification spotResizeSpecification)
The resize specification for Spot Instances in the instance fleet, which contains the allocation strategy and the resize timeout period.
- Parameters:
spotResizeSpecification- The resize specification for Spot Instances in the instance fleet, which contains the allocation strategy and the resize timeout period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spotResizeSpecification
default InstanceFleetResizingSpecifications.Builder spotResizeSpecification(Consumer<SpotResizingSpecification.Builder> spotResizeSpecification)
The resize specification for Spot Instances in the instance fleet, which contains the allocation strategy and the resize timeout period.
This is a convenience method that creates an instance of theSpotResizingSpecification.Builderavoiding the need to create one manually viaSpotResizingSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tospotResizeSpecification(SpotResizingSpecification).- Parameters:
spotResizeSpecification- a consumer that will call methods onSpotResizingSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
spotResizeSpecification(SpotResizingSpecification)
-
onDemandResizeSpecification
InstanceFleetResizingSpecifications.Builder onDemandResizeSpecification(OnDemandResizingSpecification onDemandResizeSpecification)
The resize specification for On-Demand Instances in the instance fleet, which contains the allocation strategy, capacity reservation options, and the resize timeout period.
- Parameters:
onDemandResizeSpecification- The resize specification for On-Demand Instances in the instance fleet, which contains the allocation strategy, capacity reservation options, and the resize timeout period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onDemandResizeSpecification
default InstanceFleetResizingSpecifications.Builder onDemandResizeSpecification(Consumer<OnDemandResizingSpecification.Builder> onDemandResizeSpecification)
The resize specification for On-Demand Instances in the instance fleet, which contains the allocation strategy, capacity reservation options, and the resize timeout period.
This is a convenience method that creates an instance of theOnDemandResizingSpecification.Builderavoiding the need to create one manually viaOnDemandResizingSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toonDemandResizeSpecification(OnDemandResizingSpecification).- Parameters:
onDemandResizeSpecification- a consumer that will call methods onOnDemandResizingSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
onDemandResizeSpecification(OnDemandResizingSpecification)
-
-