CopyableBuilder<InstanceTypeSpecification.Builder,InstanceTypeSpecification>
, SdkBuilder<InstanceTypeSpecification.Builder,InstanceTypeSpecification>
public static interface InstanceTypeSpecification.Builder extends CopyableBuilder<InstanceTypeSpecification.Builder,InstanceTypeSpecification>
Modifier and Type | Method | Description |
---|---|---|
InstanceTypeSpecification.Builder |
bidPrice(String bidPrice) |
The bid price for each EC2 Spot instance type as defined by
InstanceType . |
InstanceTypeSpecification.Builder |
bidPriceAsPercentageOfOnDemandPrice(Double bidPriceAsPercentageOfOnDemandPrice) |
The bid price, as a percentage of On-Demand price, for each EC2 Spot instance as defined by
InstanceType . |
InstanceTypeSpecification.Builder |
configurations(Collection<Configuration> configurations) |
A configuration classification that applies when provisioning cluster instances, which can include
configurations for applications and software bundled with Amazon EMR.
|
InstanceTypeSpecification.Builder |
configurations(Configuration... configurations) |
A configuration classification that applies when provisioning cluster instances, which can include
configurations for applications and software bundled with Amazon EMR.
|
InstanceTypeSpecification.Builder |
ebsBlockDevices(Collection<EbsBlockDevice> ebsBlockDevices) |
The configuration of Amazon Elastic Block Storage (EBS) attached to each instance as defined by
InstanceType . |
InstanceTypeSpecification.Builder |
ebsBlockDevices(EbsBlockDevice... ebsBlockDevices) |
The configuration of Amazon Elastic Block Storage (EBS) attached to each instance as defined by
InstanceType . |
InstanceTypeSpecification.Builder |
ebsOptimized(Boolean ebsOptimized) |
Evaluates to
TRUE when the specified InstanceType is EBS-optimized. |
InstanceTypeSpecification.Builder |
instanceType(String instanceType) |
The EC2 instance type, for example
m3.xlarge . |
InstanceTypeSpecification.Builder |
weightedCapacity(Integer weightedCapacity) |
The number of units that a provisioned instance of this type provides toward fulfilling the target capacities
defined in InstanceFleetConfig.
|
copy
apply, build
InstanceTypeSpecification.Builder instanceType(String instanceType)
The EC2 instance type, for example m3.xlarge
.
instanceType
- The EC2 instance type, for example m3.xlarge
.InstanceTypeSpecification.Builder weightedCapacity(Integer weightedCapacity)
The number of units that a provisioned instance of this type provides toward fulfilling the target capacities defined in InstanceFleetConfig. Capacity values represent performance characteristics such as vCPUs, memory, or I/O. If not specified, the default value is 1.
weightedCapacity
- The number of units that a provisioned instance of this type provides toward fulfilling the target
capacities defined in InstanceFleetConfig. Capacity values represent performance
characteristics such as vCPUs, memory, or I/O. If not specified, the default value is 1.InstanceTypeSpecification.Builder bidPrice(String bidPrice)
The bid price for each EC2 Spot instance type as defined by InstanceType
. Expressed in USD.
bidPrice
- The bid price for each EC2 Spot instance type as defined by InstanceType
. Expressed in
USD.InstanceTypeSpecification.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%).
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%).InstanceTypeSpecification.Builder configurations(Collection<Configuration> configurations)
A configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software bundled with Amazon EMR.
configurations
- A configuration classification that applies when provisioning cluster instances, which can include
configurations for applications and software bundled with Amazon EMR.InstanceTypeSpecification.Builder configurations(Configuration... configurations)
A configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software bundled with Amazon EMR.
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 bundled with Amazon EMR.InstanceTypeSpecification.Builder ebsBlockDevices(Collection<EbsBlockDevice> ebsBlockDevices)
The configuration of Amazon Elastic Block Storage (EBS) attached to each instance as defined by
InstanceType
.
ebsBlockDevices
- The configuration of Amazon Elastic Block Storage (EBS) attached to each instance as defined by
InstanceType
.InstanceTypeSpecification.Builder ebsBlockDevices(EbsBlockDevice... ebsBlockDevices)
The configuration of Amazon Elastic Block Storage (EBS) attached to each instance as defined by
InstanceType
.
NOTE: This method appends the values to the existing list (if any). Use
#setEbsBlockDevices(java.util.Collection)
or #withEbsBlockDevices(java.util.Collection)
if
you want to override the existing values.
ebsBlockDevices
- The configuration of Amazon Elastic Block Storage (EBS) attached to each instance as defined by
InstanceType
.InstanceTypeSpecification.Builder ebsOptimized(Boolean ebsOptimized)
Evaluates to TRUE
when the specified InstanceType
is EBS-optimized.
ebsOptimized
- Evaluates to TRUE
when the specified InstanceType
is EBS-optimized.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.