public static interface InstanceFleetProvisioningSpecifications.Builder extends CopyableBuilder<InstanceFleetProvisioningSpecifications.Builder,InstanceFleetProvisioningSpecifications>
Modifier and Type | Method and Description |
---|---|
default InstanceFleetProvisioningSpecifications.Builder |
spotSpecification(Consumer<SpotProvisioningSpecification.Builder> spotSpecification)
The launch specification for Spot instances in the fleet, which determines the defined duration and
provisioning timeout behavior.
|
InstanceFleetProvisioningSpecifications.Builder |
spotSpecification(SpotProvisioningSpecification spotSpecification)
The launch specification for Spot instances in the fleet, which determines the defined duration and
provisioning timeout behavior.
|
copy
applyMutation, build
InstanceFleetProvisioningSpecifications.Builder spotSpecification(SpotProvisioningSpecification spotSpecification)
The launch specification for Spot instances in the fleet, which determines the defined duration and provisioning timeout behavior.
spotSpecification
- The launch specification for Spot instances in the fleet, which determines the defined duration and
provisioning timeout behavior.default InstanceFleetProvisioningSpecifications.Builder spotSpecification(Consumer<SpotProvisioningSpecification.Builder> spotSpecification)
The launch specification for Spot instances in the fleet, which determines the defined duration and provisioning timeout behavior.
This is a convenience 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.Builder
spotSpecification(SpotProvisioningSpecification)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.