public static interface InstanceTypeConfig.Builder extends CopyableBuilder<InstanceTypeConfig.Builder,InstanceTypeConfig>
| Modifier and Type | Method and 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 |
configurations(Consumer<Configuration.Builder>... configurations)
A configuration classification that applies when provisioning cluster instances, which can include
configurations for applications and software that run on the cluster.
|
default InstanceTypeConfig.Builder |
ebsConfiguration(Consumer<EbsConfiguration.Builder> ebsConfiguration)
The configuration of Amazon Elastic Block Storage (EBS) attached to each instance as defined by
InstanceType. |
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 1 or greater for core and task instance fleets. Defaults to 1 if not specified.
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 1 or greater for core and task instance fleets. Defaults to 1 if not specified.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 (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 (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.default InstanceTypeConfig.Builder ebsConfiguration(Consumer<EbsConfiguration.Builder> ebsConfiguration)
The configuration of Amazon Elastic Block Storage (EBS) attached to each instance as defined by
InstanceType.
EbsConfiguration.Builder avoiding the need to
create one manually via EbsConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to ebsConfiguration(EbsConfiguration).ebsConfiguration - a consumer that will call methods on EbsConfiguration.BuilderebsConfiguration(EbsConfiguration)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.
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(Consumer<Configuration.Builder>... configurations)
A configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software that run on the cluster.
This is a convenience that creates an instance of theList.Builder avoiding the need
to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #configurations(List) .configurations - a consumer that will call methods on List.Builder #configurations(List) Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.