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.
|
copy
applyMutation, build
LaunchTemplateOverrides.Builder instanceType(String instanceType)
The instance type.
instanceType
- The instance type.InstanceType
,
InstanceType
LaunchTemplateOverrides.Builder instanceType(InstanceType instanceType)
The instance type.
instanceType
- The instance type.InstanceType
,
InstanceType
LaunchTemplateOverrides.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. If OnDemandAllocationStrategy is set to
prioritized
, Spot Fleet uses priority to determine which launch template override to use first
in fulfilling On-Demand capacity. The highest priority is launched 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.
priority
- The priority for the launch template override. If OnDemandAllocationStrategy is set to
prioritized
, Spot Fleet uses priority to determine which launch template override to use
first in fulfilling On-Demand capacity. The highest priority is launched 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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.