Package com.pulumi.aws.emr
Class InstanceFleetArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.emr.InstanceFleetArgs.Builder
-
- Enclosing class:
- InstanceFleetArgs
public static final class InstanceFleetArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(InstanceFleetArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(InstanceFleetArgs defaults)
-
-
Method Detail
-
clusterId
public InstanceFleetArgs.Builder clusterId(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 InstanceFleetArgs.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 InstanceFleetArgs.Builder instanceTypeConfigs(@Nullable com.pulumi.core.Output<java.util.List<InstanceFleetInstanceTypeConfigArgs>> instanceTypeConfigs)
- Parameters:
instanceTypeConfigs- Configuration block for instance fleet- Returns:
- builder
-
instanceTypeConfigs
public InstanceFleetArgs.Builder instanceTypeConfigs(java.util.List<InstanceFleetInstanceTypeConfigArgs> instanceTypeConfigs)
- Parameters:
instanceTypeConfigs- Configuration block for instance fleet- Returns:
- builder
-
instanceTypeConfigs
public InstanceFleetArgs.Builder instanceTypeConfigs(InstanceFleetInstanceTypeConfigArgs... instanceTypeConfigs)
- Parameters:
instanceTypeConfigs- Configuration block for instance fleet- Returns:
- builder
-
launchSpecifications
public InstanceFleetArgs.Builder launchSpecifications(@Nullable com.pulumi.core.Output<InstanceFleetLaunchSpecificationsArgs> launchSpecifications)
- Parameters:
launchSpecifications- Configuration block for launch specification- Returns:
- builder
-
launchSpecifications
public InstanceFleetArgs.Builder launchSpecifications(InstanceFleetLaunchSpecificationsArgs launchSpecifications)
- Parameters:
launchSpecifications- Configuration block for launch specification- Returns:
- builder
-
name
public InstanceFleetArgs.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- Friendly name given to the instance fleet.- Returns:
- builder
-
name
public InstanceFleetArgs.Builder name(java.lang.String name)
- Parameters:
name- Friendly name given to the instance fleet.- Returns:
- builder
-
region
public InstanceFleetArgs.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public InstanceFleetArgs.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
targetOnDemandCapacity
public InstanceFleetArgs.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 InstanceFleetArgs.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 InstanceFleetArgs.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 InstanceFleetArgs.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 InstanceFleetArgs build()
-
-