Interface FairshareCapacityUsage.Builder

  • Method Details

    • capacityUnit

      FairshareCapacityUsage.Builder capacityUnit(String capacityUnit)

      The unit of measure for the capacity usage. For compute jobs, this is VCPU for Amazon EC2 and cpu for Amazon EKS. For service jobs, this is NUM_INSTANCES.

      Parameters:
      capacityUnit - The unit of measure for the capacity usage. For compute jobs, this is VCPU for Amazon EC2 and cpu for Amazon EKS. For service jobs, this is NUM_INSTANCES.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • quantity

      The quantity of capacity being used, measured in the units specified by capacityUnit.

      Parameters:
      quantity - The quantity of capacity being used, measured in the units specified by capacityUnit.
      Returns:
      Returns a reference to this object so that method calls can be chained together.