CopyableBuilder<InstanceTypeConfig.Builder,InstanceTypeConfig>, SdkBuilder<InstanceTypeConfig.Builder,InstanceTypeConfig>public static interface InstanceTypeConfig.Builder extends CopyableBuilder<InstanceTypeConfig.Builder,InstanceTypeConfig>
| Modifier and Type | Method | Description |
|---|---|---|
InstanceTypeConfig.Builder |
bidPrice(String bidPrice) |
The bid price for each EC2 Spot instance type as defined by
InstanceType. |
InstanceTypeConfig.Builder |
bidPriceAsPercentageOfOnDemandPrice(Double bidPriceAsPercentageOfOnDemandPrice) |
The bid price, as a percentage of On-Demand price, for each EC2 Spot instance as defined by
InstanceType. |
InstanceTypeConfig.Builder |
configurations(Collection<Configuration> configurations) |
A configuration classification that applies when provisioning cluster instances, which can include
configurations for applications and software that run on the cluster.
|
InstanceTypeConfig.Builder |
configurations(Configuration... configurations) |
A configuration classification that applies when provisioning cluster instances, which can include
configurations for applications and software that run on the cluster.
|
InstanceTypeConfig.Builder |
ebsConfiguration(EbsConfiguration ebsConfiguration) |
The configuration of Amazon Elastic Block Storage (EBS) attached to each instance as defined by
InstanceType. |
InstanceTypeConfig.Builder |
instanceType(String instanceType) |
An EC2 instance type, such as
m3.xlarge. |
InstanceTypeConfig.Builder |
weightedCapacity(Integer weightedCapacity) |
The number of units that a provisioned instance of this type provides toward fulfilling the target capacities
defined in InstanceFleetConfig.
|
copyapply, buildInstanceTypeConfig.Builder instanceType(String instanceType)
An EC2 instance type, such as m3.xlarge.
instanceType - An EC2 instance type, such as m3.xlarge.InstanceTypeConfig.Builder weightedCapacity(Integer weightedCapacity)
The number of units that a provisioned instance of this type provides toward fulfilling the target capacities defined in InstanceFleetConfig. This value is 1 for a master instance fleet, and must be greater than 0 for core and task instance fleets.
weightedCapacity - The number of units that a provisioned instance of this type provides toward fulfilling the target
capacities defined in InstanceFleetConfig. This value is 1 for a master instance fleet, and
must be greater than 0 for core and task instance fleets.InstanceTypeConfig.Builder bidPrice(String bidPrice)
The bid price for each EC2 Spot instance type as defined by InstanceType. Expressed in USD. If
neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice is provided,
BidPriceAsPercentageOfOnDemandPrice defaults to 100%.
bidPrice - The bid price for each EC2 Spot instance type as defined by InstanceType. Expressed in
USD. If neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice is
provided, BidPriceAsPercentageOfOnDemandPrice defaults to 100%.InstanceTypeConfig.Builder bidPriceAsPercentageOfOnDemandPrice(Double bidPriceAsPercentageOfOnDemandPrice)
The bid price, as a percentage of On-Demand price, for each EC2 Spot instance as defined by
InstanceType. Expressed as a number between 0 and 1000 (for example, 20 specifies 20%). If
neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice is provided,
BidPriceAsPercentageOfOnDemandPrice defaults to 100%.
bidPriceAsPercentageOfOnDemandPrice - The bid price, as a percentage of On-Demand price, for each EC2 Spot instance as defined by
InstanceType. Expressed as a number between 0 and 1000 (for example, 20 specifies 20%).
If neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice is provided,
BidPriceAsPercentageOfOnDemandPrice defaults to 100%.InstanceTypeConfig.Builder ebsConfiguration(EbsConfiguration ebsConfiguration)
The configuration of Amazon Elastic Block Storage (EBS) attached to each instance as defined by
InstanceType.
ebsConfiguration - The configuration of Amazon Elastic Block Storage (EBS) attached to each instance as defined by
InstanceType.InstanceTypeConfig.Builder configurations(Collection<Configuration> configurations)
A configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software that run on the cluster.
configurations - A configuration classification that applies when provisioning cluster instances, which can include
configurations for applications and software that run on the cluster.InstanceTypeConfig.Builder configurations(Configuration... configurations)
A configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software that run on the cluster.
NOTE: This method appends the values to the existing list (if any). Use
#setConfigurations(java.util.Collection) or #withConfigurations(java.util.Collection) if you
want to override the existing values.
configurations - A configuration classification that applies when provisioning cluster instances, which can include
configurations for applications and software that run on the cluster.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.