Class InstanceFleetState.Builder

  • Enclosing class:
    InstanceFleetState

    public static final class InstanceFleetState.Builder
    extends java.lang.Object
    • 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
      • 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