Package com.pulumi.aws.emr.inputs
Class InstanceFleetState.Builder
- java.lang.Object
-
- com.pulumi.aws.emr.inputs.InstanceFleetState.Builder
-
- Enclosing class:
- InstanceFleetState
public static final class InstanceFleetState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(InstanceFleetState defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(InstanceFleetState defaults)
-
-
Method Detail
-
clusterId
public InstanceFleetState.Builder clusterId(@Nullable com.pulumi.core.Output<java.lang.String> clusterId)
- Parameters:
clusterId
- ID of the EMR Cluster to attach to. Changing this forces a new resource to be created.- Returns:
- builder
-
clusterId
public InstanceFleetState.Builder clusterId(java.lang.String clusterId)
- Parameters:
clusterId
- ID of the EMR Cluster to attach to. Changing this forces a new resource to be created.- Returns:
- builder
-
instanceTypeConfigs
public InstanceFleetState.Builder instanceTypeConfigs(@Nullable com.pulumi.core.Output<java.util.List<InstanceFleetInstanceTypeConfigArgs>> instanceTypeConfigs)
- Parameters:
instanceTypeConfigs
- Configuration block for instance fleet- Returns:
- builder
-
instanceTypeConfigs
public InstanceFleetState.Builder instanceTypeConfigs(java.util.List<InstanceFleetInstanceTypeConfigArgs> instanceTypeConfigs)
- Parameters:
instanceTypeConfigs
- Configuration block for instance fleet- Returns:
- builder
-
instanceTypeConfigs
public InstanceFleetState.Builder instanceTypeConfigs(InstanceFleetInstanceTypeConfigArgs... instanceTypeConfigs)
- Parameters:
instanceTypeConfigs
- Configuration block for instance fleet- Returns:
- builder
-
launchSpecifications
public InstanceFleetState.Builder launchSpecifications(@Nullable com.pulumi.core.Output<InstanceFleetLaunchSpecificationsArgs> launchSpecifications)
- Parameters:
launchSpecifications
- Configuration block for launch specification- Returns:
- builder
-
launchSpecifications
public InstanceFleetState.Builder launchSpecifications(InstanceFleetLaunchSpecificationsArgs launchSpecifications)
- Parameters:
launchSpecifications
- Configuration block for launch specification- Returns:
- builder
-
name
public InstanceFleetState.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name
- Friendly name given to the instance fleet.- Returns:
- builder
-
name
public InstanceFleetState.Builder name(java.lang.String name)
- Parameters:
name
- Friendly name given to the instance fleet.- Returns:
- builder
-
provisionedOnDemandCapacity
public InstanceFleetState.Builder provisionedOnDemandCapacity(@Nullable com.pulumi.core.Output<java.lang.Integer> provisionedOnDemandCapacity)
- Parameters:
provisionedOnDemandCapacity
- The number of On-Demand units that have been provisioned for the instance fleet to fulfill TargetOnDemandCapacity. This provisioned capacity might be less than or greater than TargetOnDemandCapacity.- Returns:
- builder
-
provisionedOnDemandCapacity
public InstanceFleetState.Builder provisionedOnDemandCapacity(java.lang.Integer provisionedOnDemandCapacity)
- Parameters:
provisionedOnDemandCapacity
- The number of On-Demand units that have been provisioned for the instance fleet to fulfill TargetOnDemandCapacity. This provisioned capacity might be less than or greater than TargetOnDemandCapacity.- Returns:
- builder
-
provisionedSpotCapacity
public InstanceFleetState.Builder provisionedSpotCapacity(@Nullable com.pulumi.core.Output<java.lang.Integer> provisionedSpotCapacity)
- Parameters:
provisionedSpotCapacity
- The number of Spot units that have been provisioned for this instance fleet to fulfill TargetSpotCapacity. This provisioned capacity might be less than or greater than TargetSpotCapacity.- Returns:
- builder
-
provisionedSpotCapacity
public InstanceFleetState.Builder provisionedSpotCapacity(java.lang.Integer provisionedSpotCapacity)
- Parameters:
provisionedSpotCapacity
- The number of Spot units that have been provisioned for this instance fleet to fulfill TargetSpotCapacity. This provisioned capacity might be less than or greater than TargetSpotCapacity.- Returns:
- builder
-
targetOnDemandCapacity
public InstanceFleetState.Builder targetOnDemandCapacity(@Nullable com.pulumi.core.Output<java.lang.Integer> targetOnDemandCapacity)
- Parameters:
targetOnDemandCapacity
- The target capacity of On-Demand units for the instance fleet, which determines how many On-Demand instances to provision.- Returns:
- builder
-
targetOnDemandCapacity
public InstanceFleetState.Builder targetOnDemandCapacity(java.lang.Integer targetOnDemandCapacity)
- Parameters:
targetOnDemandCapacity
- The target capacity of On-Demand units for the instance fleet, which determines how many On-Demand instances to provision.- Returns:
- builder
-
targetSpotCapacity
public InstanceFleetState.Builder targetSpotCapacity(@Nullable com.pulumi.core.Output<java.lang.Integer> targetSpotCapacity)
- Parameters:
targetSpotCapacity
- The target capacity of Spot units for the instance fleet, which determines how many Spot instances to provision.- Returns:
- builder
-
targetSpotCapacity
public InstanceFleetState.Builder targetSpotCapacity(java.lang.Integer targetSpotCapacity)
- Parameters:
targetSpotCapacity
- The target capacity of Spot units for the instance fleet, which determines how many Spot instances to provision.- Returns:
- builder
-
build
public InstanceFleetState build()
-
-