Class FleetTargetCapacitySpecificationArgs.Builder

    • Method Detail

      • defaultTargetCapacityType

        public FleetTargetCapacitySpecificationArgs.Builder defaultTargetCapacityType​(com.pulumi.core.Output<java.lang.String> defaultTargetCapacityType)
        Parameters:
        defaultTargetCapacityType - Default target capacity type. Valid values: `on-demand`, `spot`.
        Returns:
        builder
      • defaultTargetCapacityType

        public FleetTargetCapacitySpecificationArgs.Builder defaultTargetCapacityType​(java.lang.String defaultTargetCapacityType)
        Parameters:
        defaultTargetCapacityType - Default target capacity type. Valid values: `on-demand`, `spot`.
        Returns:
        builder
      • onDemandTargetCapacity

        public FleetTargetCapacitySpecificationArgs.Builder onDemandTargetCapacity​(@Nullable
                                                                                   com.pulumi.core.Output<java.lang.Integer> onDemandTargetCapacity)
        Parameters:
        onDemandTargetCapacity - The number of On-Demand units to request.
        Returns:
        builder
      • onDemandTargetCapacity

        public FleetTargetCapacitySpecificationArgs.Builder onDemandTargetCapacity​(java.lang.Integer onDemandTargetCapacity)
        Parameters:
        onDemandTargetCapacity - The number of On-Demand units to request.
        Returns:
        builder
      • spotTargetCapacity

        public FleetTargetCapacitySpecificationArgs.Builder spotTargetCapacity​(@Nullable
                                                                               com.pulumi.core.Output<java.lang.Integer> spotTargetCapacity)
        Parameters:
        spotTargetCapacity - The number of Spot units to request.
        Returns:
        builder
      • spotTargetCapacity

        public FleetTargetCapacitySpecificationArgs.Builder spotTargetCapacity​(java.lang.Integer spotTargetCapacity)
        Parameters:
        spotTargetCapacity - The number of Spot units to request.
        Returns:
        builder
      • targetCapacityUnitType

        public FleetTargetCapacitySpecificationArgs.Builder targetCapacityUnitType​(@Nullable
                                                                                   com.pulumi.core.Output<java.lang.String> targetCapacityUnitType)
        Parameters:
        targetCapacityUnitType - The unit for the target capacity. If you specify `targetCapacityUnitType`, `instanceRequirements` must be specified.
        Returns:
        builder
      • targetCapacityUnitType

        public FleetTargetCapacitySpecificationArgs.Builder targetCapacityUnitType​(java.lang.String targetCapacityUnitType)
        Parameters:
        targetCapacityUnitType - The unit for the target capacity. If you specify `targetCapacityUnitType`, `instanceRequirements` must be specified.
        Returns:
        builder
      • totalTargetCapacity

        public FleetTargetCapacitySpecificationArgs.Builder totalTargetCapacity​(com.pulumi.core.Output<java.lang.Integer> totalTargetCapacity)
        Parameters:
        totalTargetCapacity - The number of units to request, filled using `defaultTargetCapacityType`.
        Returns:
        builder
      • totalTargetCapacity

        public FleetTargetCapacitySpecificationArgs.Builder totalTargetCapacity​(java.lang.Integer totalTargetCapacity)
        Parameters:
        totalTargetCapacity - The number of units to request, filled using `defaultTargetCapacityType`.
        Returns:
        builder