Interface InstanceFleetResizingSpecifications.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InstanceFleetResizingSpecifications.Builder,
,InstanceFleetResizingSpecifications> SdkBuilder<InstanceFleetResizingSpecifications.Builder,
,InstanceFleetResizingSpecifications> SdkPojo
- Enclosing class:
InstanceFleetResizingSpecifications
-
Method Summary
Modifier and TypeMethodDescriptiononDemandResizeSpecification
(Consumer<OnDemandResizingSpecification.Builder> onDemandResizeSpecification) The resize specification for On-Demand Instances in the instance fleet, which contains the resize timeout period.onDemandResizeSpecification
(OnDemandResizingSpecification onDemandResizeSpecification) The resize specification for On-Demand Instances in the instance fleet, which contains the resize timeout period.spotResizeSpecification
(Consumer<SpotResizingSpecification.Builder> spotResizeSpecification) The resize specification for Spot Instances in the instance fleet, which contains the resize timeout period.spotResizeSpecification
(SpotResizingSpecification spotResizeSpecification) The resize specification for Spot Instances in the instance fleet, which contains 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, sdkFields
-
Method Details
-
spotResizeSpecification
InstanceFleetResizingSpecifications.Builder spotResizeSpecification(SpotResizingSpecification spotResizeSpecification) The resize specification for Spot Instances in the instance fleet, which contains the resize timeout period.
- Parameters:
spotResizeSpecification
- The resize specification for Spot Instances in the instance fleet, which contains 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 resize timeout period.
This is a convenience method that creates an instance of theSpotResizingSpecification.Builder
avoiding the need to create one manually viaSpotResizingSpecification.builder()
.When the
Consumer
completes,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:
-
onDemandResizeSpecification
InstanceFleetResizingSpecifications.Builder onDemandResizeSpecification(OnDemandResizingSpecification onDemandResizeSpecification) The resize specification for On-Demand Instances in the instance fleet, which contains the resize timeout period.
- Parameters:
onDemandResizeSpecification
- The resize specification for On-Demand Instances in the instance fleet, which contains 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 resize timeout period.
This is a convenience method that creates an instance of theOnDemandResizingSpecification.Builder
avoiding the need to create one manually viaOnDemandResizingSpecification.builder()
.When the
Consumer
completes,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:
-