public static interface InstanceFleetProvisioningSpecifications.Builder extends SdkPojo, CopyableBuilder<InstanceFleetProvisioningSpecifications.Builder,InstanceFleetProvisioningSpecifications>
| Modifier and Type | Method and Description |
|---|---|
default InstanceFleetProvisioningSpecifications.Builder |
onDemandSpecification(Consumer<OnDemandProvisioningSpecification.Builder> onDemandSpecification)
The launch specification for On-Demand Instances in the instance fleet, which determines the allocation
strategy.
|
InstanceFleetProvisioningSpecifications.Builder |
onDemandSpecification(OnDemandProvisioningSpecification onDemandSpecification)
The launch specification for On-Demand Instances in the instance fleet, which determines the allocation
strategy.
|
default InstanceFleetProvisioningSpecifications.Builder |
spotSpecification(Consumer<SpotProvisioningSpecification.Builder> spotSpecification)
The launch specification for Spot instances in the fleet, which determines the defined duration, provisioning
timeout behavior, and allocation strategy.
|
InstanceFleetProvisioningSpecifications.Builder |
spotSpecification(SpotProvisioningSpecification spotSpecification)
The launch specification for Spot instances in the fleet, which determines the defined duration, provisioning
timeout behavior, and allocation strategy.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildInstanceFleetProvisioningSpecifications.Builder spotSpecification(SpotProvisioningSpecification spotSpecification)
The launch specification for Spot instances in the fleet, which determines the defined duration, provisioning timeout behavior, and allocation strategy.
spotSpecification - The launch specification for Spot instances in the fleet, which determines the defined duration,
provisioning timeout behavior, and allocation strategy.default InstanceFleetProvisioningSpecifications.Builder spotSpecification(Consumer<SpotProvisioningSpecification.Builder> spotSpecification)
The launch specification for Spot instances in the fleet, which determines the defined duration, provisioning timeout behavior, and allocation strategy.
This is a convenience method that creates an instance of theSpotProvisioningSpecification.Builder
avoiding the need to create one manually via SpotProvisioningSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to spotSpecification(SpotProvisioningSpecification).
spotSpecification - a consumer that will call methods on SpotProvisioningSpecification.BuilderspotSpecification(SpotProvisioningSpecification)InstanceFleetProvisioningSpecifications.Builder onDemandSpecification(OnDemandProvisioningSpecification onDemandSpecification)
The launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy.
The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions. On-Demand Instances allocation strategy is available in Amazon EMR releases 5.12.1 and later.
onDemandSpecification - The launch specification for On-Demand Instances in the instance fleet, which determines the
allocation strategy. The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions. On-Demand Instances allocation strategy is available in Amazon EMR releases 5.12.1 and later.
default InstanceFleetProvisioningSpecifications.Builder onDemandSpecification(Consumer<OnDemandProvisioningSpecification.Builder> onDemandSpecification)
The launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy.
The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions. On-Demand Instances allocation strategy is available in Amazon EMR releases 5.12.1 and later.
OnDemandProvisioningSpecification.Builder avoiding the need to create one manually via
OnDemandProvisioningSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to onDemandSpecification(OnDemandProvisioningSpecification).
onDemandSpecification - a consumer that will call methods on OnDemandProvisioningSpecification.BuilderonDemandSpecification(OnDemandProvisioningSpecification)Copyright © 2023. All rights reserved.