public static interface InstanceTypeSpecification.Builder extends SdkPojo, CopyableBuilder<InstanceTypeSpecification.Builder,InstanceTypeSpecification>
| Modifier and Type | Method and 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 |
configurations(Consumer<Configuration.Builder>... configurations)
A configuration classification that applies when provisioning cluster instances, which can include
configurations for applications and software bundled with Amazon EMR.
|
InstanceTypeSpecification.Builder |
customAmiId(String customAmiId)
The custom AMI ID to use for the instance type.
|
InstanceTypeSpecification.Builder |
ebsBlockDevices(Collection<EbsBlockDevice> ebsBlockDevices)
The configuration of Amazon Elastic Block Store (Amazon EBS) attached to each instance as defined by
InstanceType. |
InstanceTypeSpecification.Builder |
ebsBlockDevices(Consumer<EbsBlockDevice.Builder>... ebsBlockDevices)
The configuration of Amazon Elastic Block Store (Amazon EBS) attached to each instance as defined by
InstanceType. |
InstanceTypeSpecification.Builder |
ebsBlockDevices(EbsBlockDevice... ebsBlockDevices)
The configuration of Amazon Elastic Block Store (Amazon 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.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildInstanceTypeSpecification.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.
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(Consumer<Configuration.Builder>... configurations)
A configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software bundled with Amazon EMR.
This is a convenience method that creates an instance of theConfiguration.Builder avoiding the need to create one
manually via Configuration.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #configurations(List.
configurations - a consumer that will call methods on
Configuration.Builder#configurations(java.util.Collection) InstanceTypeSpecification.Builder ebsBlockDevices(Collection<EbsBlockDevice> ebsBlockDevices)
The configuration of Amazon Elastic Block Store (Amazon EBS) attached to each instance as defined by
InstanceType.
ebsBlockDevices - The configuration of Amazon Elastic Block Store (Amazon EBS) attached to each instance as defined by
InstanceType.InstanceTypeSpecification.Builder ebsBlockDevices(EbsBlockDevice... ebsBlockDevices)
The configuration of Amazon Elastic Block Store (Amazon EBS) attached to each instance as defined by
InstanceType.
ebsBlockDevices - The configuration of Amazon Elastic Block Store (Amazon EBS) attached to each instance as defined by
InstanceType.InstanceTypeSpecification.Builder ebsBlockDevices(Consumer<EbsBlockDevice.Builder>... ebsBlockDevices)
The configuration of Amazon Elastic Block Store (Amazon EBS) attached to each instance as defined by
InstanceType.
EbsBlockDevice.Builder avoiding the need to create one
manually via EbsBlockDevice.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #ebsBlockDevices(List.
ebsBlockDevices - a consumer that will call methods on
EbsBlockDevice.Builder#ebsBlockDevices(java.util.Collection) 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.InstanceTypeSpecification.Builder customAmiId(String customAmiId)
The custom AMI ID to use for the instance type.
customAmiId - The custom AMI ID to use for the instance type.Copyright © 2022. All rights reserved.