Package com.pulumi.aws.emr.inputs
Class ManagedScalingPolicyComputeLimitArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.emr.inputs.ManagedScalingPolicyComputeLimitArgs.Builder
-
- Enclosing class:
- ManagedScalingPolicyComputeLimitArgs
public static final class ManagedScalingPolicyComputeLimitArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(ManagedScalingPolicyComputeLimitArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ManagedScalingPolicyComputeLimitArgs defaults)
-
-
Method Detail
-
maximumCapacityUnits
public ManagedScalingPolicyComputeLimitArgs.Builder maximumCapacityUnits(com.pulumi.core.Output<java.lang.Integer> maximumCapacityUnits)
- Parameters:
maximumCapacityUnits- The upper boundary of EC2 units. It is measured through VCPU cores or instances for instance groups and measured through units for instance fleets. Managed scaling activities are not allowed beyond this boundary. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.- Returns:
- builder
-
maximumCapacityUnits
public ManagedScalingPolicyComputeLimitArgs.Builder maximumCapacityUnits(java.lang.Integer maximumCapacityUnits)
- Parameters:
maximumCapacityUnits- The upper boundary of EC2 units. It is measured through VCPU cores or instances for instance groups and measured through units for instance fleets. Managed scaling activities are not allowed beyond this boundary. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.- Returns:
- builder
-
maximumCoreCapacityUnits
public ManagedScalingPolicyComputeLimitArgs.Builder maximumCoreCapacityUnits(@Nullable com.pulumi.core.Output<java.lang.Integer> maximumCoreCapacityUnits)
- Parameters:
maximumCoreCapacityUnits- The upper boundary of EC2 units for core node type in a cluster. It is measured through VCPU cores or instances for instance groups and measured through units for instance fleets. The core units are not allowed to scale beyond this boundary. The parameter is used to split capacity allocation between core and task nodes.- Returns:
- builder
-
maximumCoreCapacityUnits
public ManagedScalingPolicyComputeLimitArgs.Builder maximumCoreCapacityUnits(java.lang.Integer maximumCoreCapacityUnits)
- Parameters:
maximumCoreCapacityUnits- The upper boundary of EC2 units for core node type in a cluster. It is measured through VCPU cores or instances for instance groups and measured through units for instance fleets. The core units are not allowed to scale beyond this boundary. The parameter is used to split capacity allocation between core and task nodes.- Returns:
- builder
-
maximumOndemandCapacityUnits
public ManagedScalingPolicyComputeLimitArgs.Builder maximumOndemandCapacityUnits(@Nullable com.pulumi.core.Output<java.lang.Integer> maximumOndemandCapacityUnits)
- Parameters:
maximumOndemandCapacityUnits- The upper boundary of On-Demand EC2 units. It is measured through VCPU cores or instances for instance groups and measured through units for instance fleets. The On-Demand units are not allowed to scale beyond this boundary. The parameter is used to split capacity allocation between On-Demand and Spot instances.- Returns:
- builder
-
maximumOndemandCapacityUnits
public ManagedScalingPolicyComputeLimitArgs.Builder maximumOndemandCapacityUnits(java.lang.Integer maximumOndemandCapacityUnits)
- Parameters:
maximumOndemandCapacityUnits- The upper boundary of On-Demand EC2 units. It is measured through VCPU cores or instances for instance groups and measured through units for instance fleets. The On-Demand units are not allowed to scale beyond this boundary. The parameter is used to split capacity allocation between On-Demand and Spot instances.- Returns:
- builder
-
minimumCapacityUnits
public ManagedScalingPolicyComputeLimitArgs.Builder minimumCapacityUnits(com.pulumi.core.Output<java.lang.Integer> minimumCapacityUnits)
- Parameters:
minimumCapacityUnits- The lower boundary of EC2 units. It is measured through VCPU cores or instances for instance groups and measured through units for instance fleets. Managed scaling activities are not allowed beyond this boundary. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.- Returns:
- builder
-
minimumCapacityUnits
public ManagedScalingPolicyComputeLimitArgs.Builder minimumCapacityUnits(java.lang.Integer minimumCapacityUnits)
- Parameters:
minimumCapacityUnits- The lower boundary of EC2 units. It is measured through VCPU cores or instances for instance groups and measured through units for instance fleets. Managed scaling activities are not allowed beyond this boundary. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.- Returns:
- builder
-
unitType
public ManagedScalingPolicyComputeLimitArgs.Builder unitType(com.pulumi.core.Output<java.lang.String> unitType)
- Parameters:
unitType- The unit type used for specifying a managed scaling policy. Valid Values: `InstanceFleetUnits` | `Instances` | `VCPU`- Returns:
- builder
-
unitType
public ManagedScalingPolicyComputeLimitArgs.Builder unitType(java.lang.String unitType)
- Parameters:
unitType- The unit type used for specifying a managed scaling policy. Valid Values: `InstanceFleetUnits` | `Instances` | `VCPU`- Returns:
- builder
-
build
public ManagedScalingPolicyComputeLimitArgs build()
-
-