@Stability(value=Stable) public static final class CfnCluster.InstanceTypeConfigProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnCluster.InstanceTypeConfigProperty>
CfnCluster.InstanceTypeConfigProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnCluster.InstanceTypeConfigProperty.Builder instanceType(String instanceType)
CfnCluster.InstanceTypeConfigProperty.getInstanceType()instanceType - An EC2 instance type, such as `m3.xlarge` . This parameter is required.this@Stability(value=Stable) public CfnCluster.InstanceTypeConfigProperty.Builder bidPrice(String bidPrice)
CfnCluster.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 CfnCluster.InstanceTypeConfigProperty.Builder bidPriceAsPercentageOfOnDemandPrice(Number bidPriceAsPercentageOfOnDemandPrice)
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 CfnCluster.InstanceTypeConfigProperty.Builder configurations(IResolvable configurations)
CfnCluster.InstanceTypeConfigProperty.getConfigurations()configurations - A configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software that run on the cluster.this@Stability(value=Stable) public CfnCluster.InstanceTypeConfigProperty.Builder configurations(List<? extends Object> configurations)
CfnCluster.InstanceTypeConfigProperty.getConfigurations()configurations - A configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software that run on the cluster.this@Stability(value=Stable) public CfnCluster.InstanceTypeConfigProperty.Builder customAmiId(String customAmiId)
CfnCluster.InstanceTypeConfigProperty.getCustomAmiId()customAmiId - The custom AMI ID to use for the instance type.this@Stability(value=Stable) public CfnCluster.InstanceTypeConfigProperty.Builder ebsConfiguration(CfnCluster.EbsConfigurationProperty ebsConfiguration)
CfnCluster.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 CfnCluster.InstanceTypeConfigProperty.Builder ebsConfiguration(IResolvable ebsConfiguration)
CfnCluster.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 CfnCluster.InstanceTypeConfigProperty.Builder weightedCapacity(Number weightedCapacity)
CfnCluster.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 CfnCluster.InstanceTypeConfigProperty build()
build in interface software.amazon.jsii.Builder<CfnCluster.InstanceTypeConfigProperty>CfnCluster.InstanceTypeConfigPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.