Package com.pulumi.aws.emr.inputs
Class ClusterCoreInstanceFleetInstanceTypeConfigArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.emr.inputs.ClusterCoreInstanceFleetInstanceTypeConfigArgs.Builder
-
- Enclosing class:
- ClusterCoreInstanceFleetInstanceTypeConfigArgs
public static final class ClusterCoreInstanceFleetInstanceTypeConfigArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(ClusterCoreInstanceFleetInstanceTypeConfigArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ClusterCoreInstanceFleetInstanceTypeConfigArgs defaults)
-
-
Method Detail
-
bidPrice
public ClusterCoreInstanceFleetInstanceTypeConfigArgs.Builder bidPrice(@Nullable com.pulumi.core.Output<java.lang.String> bidPrice)
- Parameters:
bidPrice
- Bid price for each EC2 Spot instance type as defined by `instance_type`. Expressed in USD. If neither `bid_price` nor `bid_price_as_percentage_of_on_demand_price` is provided, `bid_price_as_percentage_of_on_demand_price` defaults to 100%.- Returns:
- builder
-
bidPrice
public ClusterCoreInstanceFleetInstanceTypeConfigArgs.Builder bidPrice(java.lang.String bidPrice)
- Parameters:
bidPrice
- Bid price for each EC2 Spot instance type as defined by `instance_type`. Expressed in USD. If neither `bid_price` nor `bid_price_as_percentage_of_on_demand_price` is provided, `bid_price_as_percentage_of_on_demand_price` defaults to 100%.- Returns:
- builder
-
bidPriceAsPercentageOfOnDemandPrice
public ClusterCoreInstanceFleetInstanceTypeConfigArgs.Builder bidPriceAsPercentageOfOnDemandPrice(@Nullable com.pulumi.core.Output<java.lang.Double> bidPriceAsPercentageOfOnDemandPrice)
- Parameters:
bidPriceAsPercentageOfOnDemandPrice
- Bid price, as a percentage of On-Demand price, for each EC2 Spot instance as defined by `instance_type`. Expressed as a number (for example, 20 specifies 20%). If neither `bid_price` nor `bid_price_as_percentage_of_on_demand_price` is provided, `bid_price_as_percentage_of_on_demand_price` defaults to 100%.- Returns:
- builder
-
bidPriceAsPercentageOfOnDemandPrice
public ClusterCoreInstanceFleetInstanceTypeConfigArgs.Builder bidPriceAsPercentageOfOnDemandPrice(java.lang.Double bidPriceAsPercentageOfOnDemandPrice)
- Parameters:
bidPriceAsPercentageOfOnDemandPrice
- Bid price, as a percentage of On-Demand price, for each EC2 Spot instance as defined by `instance_type`. Expressed as a number (for example, 20 specifies 20%). If neither `bid_price` nor `bid_price_as_percentage_of_on_demand_price` is provided, `bid_price_as_percentage_of_on_demand_price` defaults to 100%.- Returns:
- builder
-
configurations
public ClusterCoreInstanceFleetInstanceTypeConfigArgs.Builder configurations(@Nullable com.pulumi.core.Output<java.util.List<ClusterCoreInstanceFleetInstanceTypeConfigConfigurationArgs>> configurations)
- Parameters:
configurations
- Configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software that run on the cluster. List of `configuration` blocks.- Returns:
- builder
-
configurations
public ClusterCoreInstanceFleetInstanceTypeConfigArgs.Builder configurations(java.util.List<ClusterCoreInstanceFleetInstanceTypeConfigConfigurationArgs> configurations)
- Parameters:
configurations
- Configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software that run on the cluster. List of `configuration` blocks.- Returns:
- builder
-
configurations
public ClusterCoreInstanceFleetInstanceTypeConfigArgs.Builder configurations(ClusterCoreInstanceFleetInstanceTypeConfigConfigurationArgs... configurations)
- Parameters:
configurations
- Configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software that run on the cluster. List of `configuration` blocks.- Returns:
- builder
-
ebsConfigs
public ClusterCoreInstanceFleetInstanceTypeConfigArgs.Builder ebsConfigs(@Nullable com.pulumi.core.Output<java.util.List<ClusterCoreInstanceFleetInstanceTypeConfigEbsConfigArgs>> ebsConfigs)
- Parameters:
ebsConfigs
- Configuration block(s) for EBS volumes attached to each instance in the instance group. Detailed below.- Returns:
- builder
-
ebsConfigs
public ClusterCoreInstanceFleetInstanceTypeConfigArgs.Builder ebsConfigs(java.util.List<ClusterCoreInstanceFleetInstanceTypeConfigEbsConfigArgs> ebsConfigs)
- Parameters:
ebsConfigs
- Configuration block(s) for EBS volumes attached to each instance in the instance group. Detailed below.- Returns:
- builder
-
ebsConfigs
public ClusterCoreInstanceFleetInstanceTypeConfigArgs.Builder ebsConfigs(ClusterCoreInstanceFleetInstanceTypeConfigEbsConfigArgs... ebsConfigs)
- Parameters:
ebsConfigs
- Configuration block(s) for EBS volumes attached to each instance in the instance group. Detailed below.- Returns:
- builder
-
instanceType
public ClusterCoreInstanceFleetInstanceTypeConfigArgs.Builder instanceType(com.pulumi.core.Output<java.lang.String> instanceType)
- Parameters:
instanceType
- EC2 instance type, such as m4.xlarge.- Returns:
- builder
-
instanceType
public ClusterCoreInstanceFleetInstanceTypeConfigArgs.Builder instanceType(java.lang.String instanceType)
- Parameters:
instanceType
- EC2 instance type, such as m4.xlarge.- Returns:
- builder
-
weightedCapacity
public ClusterCoreInstanceFleetInstanceTypeConfigArgs.Builder weightedCapacity(@Nullable com.pulumi.core.Output<java.lang.Integer> weightedCapacity)
- Parameters:
weightedCapacity
- Number of units that a provisioned instance of this type provides toward fulfilling the target capacities defined in `aws.emr.InstanceFleet`.- Returns:
- builder
-
weightedCapacity
public ClusterCoreInstanceFleetInstanceTypeConfigArgs.Builder weightedCapacity(java.lang.Integer weightedCapacity)
- Parameters:
weightedCapacity
- Number of units that a provisioned instance of this type provides toward fulfilling the target capacities defined in `aws.emr.InstanceFleet`.- Returns:
- builder
-
build
public ClusterCoreInstanceFleetInstanceTypeConfigArgs build()
-
-