public static interface LaunchTemplateOverrides.Builder extends SdkPojo, CopyableBuilder<LaunchTemplateOverrides.Builder,LaunchTemplateOverrides>
| Modifier and Type | Method and Description |
|---|---|
LaunchTemplateOverrides.Builder |
availabilityZone(String availabilityZone)
The Availability Zone in which to launch the instances.
|
LaunchTemplateOverrides.Builder |
instanceType(InstanceType instanceType)
The instance type.
|
LaunchTemplateOverrides.Builder |
instanceType(String instanceType)
The instance type.
|
LaunchTemplateOverrides.Builder |
priority(Double priority)
The priority for the launch template override.
|
LaunchTemplateOverrides.Builder |
spotPrice(String spotPrice)
The maximum price per unit hour that you are willing to pay for a Spot Instance.
|
LaunchTemplateOverrides.Builder |
subnetId(String subnetId)
The ID of the subnet in which to launch the instances.
|
LaunchTemplateOverrides.Builder |
weightedCapacity(Double weightedCapacity)
The number of units provided by the specified instance type.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildLaunchTemplateOverrides.Builder instanceType(String instanceType)
The instance type.
instanceType - The instance type.InstanceType,
InstanceTypeLaunchTemplateOverrides.Builder instanceType(InstanceType instanceType)
The instance type.
instanceType - The instance type.InstanceType,
InstanceTypeLaunchTemplateOverrides.Builder spotPrice(String spotPrice)
The maximum price per unit hour that you are willing to pay for a Spot Instance.
spotPrice - The maximum price per unit hour that you are willing to pay for a Spot Instance.LaunchTemplateOverrides.Builder subnetId(String subnetId)
The ID of the subnet in which to launch the instances.
subnetId - The ID of the subnet in which to launch the instances.LaunchTemplateOverrides.Builder availabilityZone(String availabilityZone)
The Availability Zone in which to launch the instances.
availabilityZone - The Availability Zone in which to launch the instances.LaunchTemplateOverrides.Builder weightedCapacity(Double weightedCapacity)
The number of units provided by the specified instance type.
weightedCapacity - The number of units provided by the specified instance type.LaunchTemplateOverrides.Builder priority(Double priority)
The priority for the launch template override. The highest priority is launched first.
If OnDemandAllocationStrategy is set to prioritized, Spot Fleet uses priority to
determine which launch template override to use first in fulfilling On-Demand capacity.
If the Spot AllocationStrategy is set to capacityOptimizedPrioritized, Spot Fleet
uses priority on a best-effort basis to determine which launch template override to use first in fulfilling
Spot capacity, but optimizes for capacity first.
Valid values are whole numbers starting at 0. The lower the number, the higher the priority. If
no number is set, the launch template override has the lowest priority. You can set the same priority for
different launch template overrides.
priority - The priority for the launch template override. The highest priority is launched first.
If OnDemandAllocationStrategy is set to prioritized, Spot Fleet uses
priority to determine which launch template override to use first in fulfilling On-Demand capacity.
If the Spot AllocationStrategy is set to capacityOptimizedPrioritized, Spot
Fleet uses priority on a best-effort basis to determine which launch template override to use first in
fulfilling Spot capacity, but optimizes for capacity first.
Valid values are whole numbers starting at 0. The lower the number, the higher the
priority. If no number is set, the launch template override has the lowest priority. You can set the
same priority for different launch template overrides.
Copyright © 2021. All rights reserved.