@Stability(value=Stable) public static final class CfnInstanceFleetConfig.InstanceTypeConfigProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnInstanceFleetConfig.InstanceTypeConfigProperty>
CfnInstanceFleetConfig.InstanceTypeConfigProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnInstanceFleetConfig.InstanceTypeConfigProperty.Builder instanceType(String instanceType)
CfnInstanceFleetConfig.InstanceTypeConfigProperty.getInstanceType()instanceType - An EC2 instance type, such as `m3.xlarge` . This parameter is required.this@Stability(value=Stable) public CfnInstanceFleetConfig.InstanceTypeConfigProperty.Builder bidPrice(String bidPrice)
CfnInstanceFleetConfig.InstanceTypeConfigProperty.getBidPrice()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%.this@Stability(value=Stable) public CfnInstanceFleetConfig.InstanceTypeConfigProperty.Builder bidPriceAsPercentageOfOnDemandPrice(Number bidPriceAsPercentageOfOnDemandPrice)
CfnInstanceFleetConfig.InstanceTypeConfigProperty.getBidPriceAsPercentageOfOnDemandPrice()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%.this@Stability(value=Stable) public CfnInstanceFleetConfig.InstanceTypeConfigProperty.Builder configurations(IResolvable configurations)
CfnInstanceFleetConfig.InstanceTypeConfigProperty.getConfigurations()configurations - > Amazon EMR releases 4.x or later.
An optional configuration specification to be used when provisioning cluster instances, which can include configurations for applications and software bundled with Amazon EMR. A configuration consists of a classification, properties, and optional nested configurations. A classification refers to an application-specific configuration file. Properties are the settings you want to change in that file. For more information, see Configuring Applications .this@Stability(value=Stable) public CfnInstanceFleetConfig.InstanceTypeConfigProperty.Builder configurations(List<? extends Object> configurations)
CfnInstanceFleetConfig.InstanceTypeConfigProperty.getConfigurations()configurations - > Amazon EMR releases 4.x or later.
An optional configuration specification to be used when provisioning cluster instances, which can include configurations for applications and software bundled with Amazon EMR. A configuration consists of a classification, properties, and optional nested configurations. A classification refers to an application-specific configuration file. Properties are the settings you want to change in that file. For more information, see Configuring Applications .this@Stability(value=Stable) public CfnInstanceFleetConfig.InstanceTypeConfigProperty.Builder customAmiId(String customAmiId)
CfnInstanceFleetConfig.InstanceTypeConfigProperty.getCustomAmiId()customAmiId - The custom AMI ID to use for the instance type.this@Stability(value=Stable) public CfnInstanceFleetConfig.InstanceTypeConfigProperty.Builder ebsConfiguration(CfnInstanceFleetConfig.EbsConfigurationProperty ebsConfiguration)
CfnInstanceFleetConfig.InstanceTypeConfigProperty.getEbsConfiguration()ebsConfiguration - The configuration of Amazon Elastic Block Store (Amazon EBS) attached to each instance as defined by `InstanceType` .this@Stability(value=Stable) public CfnInstanceFleetConfig.InstanceTypeConfigProperty.Builder ebsConfiguration(IResolvable ebsConfiguration)
CfnInstanceFleetConfig.InstanceTypeConfigProperty.getEbsConfiguration()ebsConfiguration - The configuration of Amazon Elastic Block Store (Amazon EBS) attached to each instance as defined by `InstanceType` .this@Stability(value=Stable) public CfnInstanceFleetConfig.InstanceTypeConfigProperty.Builder weightedCapacity(Number weightedCapacity)
CfnInstanceFleetConfig.InstanceTypeConfigProperty.getWeightedCapacity()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.this@Stability(value=Stable) public CfnInstanceFleetConfig.InstanceTypeConfigProperty build()
build in interface software.amazon.jsii.Builder<CfnInstanceFleetConfig.InstanceTypeConfigProperty>CfnInstanceFleetConfig.InstanceTypeConfigPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.