public static interface InstanceFleetResizingSpecifications.Builder extends SdkPojo, CopyableBuilder<InstanceFleetResizingSpecifications.Builder,InstanceFleetResizingSpecifications>
| Modifier and Type | Method and Description |
|---|---|
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.
|
InstanceFleetResizingSpecifications.Builder |
onDemandResizeSpecification(OnDemandResizingSpecification onDemandResizeSpecification)
The resize specification for On-Demand Instances in the instance fleet, which contains the resize timeout
period.
|
default InstanceFleetResizingSpecifications.Builder |
spotResizeSpecification(Consumer<SpotResizingSpecification.Builder> spotResizeSpecification)
The resize specification for Spot Instances in the instance fleet, which contains the resize timeout period.
|
InstanceFleetResizingSpecifications.Builder |
spotResizeSpecification(SpotResizingSpecification spotResizeSpecification)
The resize specification for Spot Instances in the instance fleet, which contains the resize timeout period.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildInstanceFleetResizingSpecifications.Builder spotResizeSpecification(SpotResizingSpecification spotResizeSpecification)
The resize specification for Spot Instances in the instance fleet, which contains the resize timeout period.
spotResizeSpecification - The resize specification for Spot Instances in the instance fleet, which contains the resize timeout
period.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 via SpotResizingSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to spotResizeSpecification(SpotResizingSpecification).
spotResizeSpecification - a consumer that will call methods on SpotResizingSpecification.BuilderspotResizeSpecification(SpotResizingSpecification)InstanceFleetResizingSpecifications.Builder onDemandResizeSpecification(OnDemandResizingSpecification onDemandResizeSpecification)
The resize specification for On-Demand Instances in the instance fleet, which contains the resize timeout period.
onDemandResizeSpecification - The resize specification for On-Demand Instances in the instance fleet, which contains the resize
timeout period.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 via OnDemandResizingSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to onDemandResizeSpecification(OnDemandResizingSpecification).
onDemandResizeSpecification - a consumer that will call methods on OnDemandResizingSpecification.BuilderonDemandResizeSpecification(OnDemandResizingSpecification)Copyright © 2023. All rights reserved.