Interface QueueSnapshotCapacityUsage.Builder

  • Method Details

    • capacityUnit

      QueueSnapshotCapacityUsage.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 the instance type.

      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 the instance type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • quantity

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

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