Class AllocatableGpuSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • computeShape

        public AllocatableGpuSummary.Builder computeShape​(String computeShape)
        The compute shape for the allocatable GPUs.
        Parameters:
        computeShape - the value to set
        Returns:
        this builder
      • totalAvailableGpuUnits

        public AllocatableGpuSummary.Builder totalAvailableGpuUnits​(Integer totalAvailableGpuUnits)
        The total number of available GPU units for the compute shape.
        Parameters:
        totalAvailableGpuUnits - the value to set
        Returns:
        this builder
      • totalUsedGpuUnits

        public AllocatableGpuSummary.Builder totalUsedGpuUnits​(Integer totalUsedGpuUnits)
        The total number of used GPU units for the compute shape.
        Parameters:
        totalUsedGpuUnits - the value to set
        Returns:
        this builder
      • maxAllocatableGpuUnits

        public AllocatableGpuSummary.Builder maxAllocatableGpuUnits​(Integer maxAllocatableGpuUnits)
        The largest contiguous number of GPU units available from one reservation-backed host for the compute shape.

        This includes an unused reserved host that must be provisioned before workloads can be scheduled.

        Parameters:
        maxAllocatableGpuUnits - the value to set
        Returns:
        this builder
      • gpuAllocations

        public AllocatableGpuSummary.Builder gpuAllocations​(List<GpuAllocation> gpuAllocations)
        The GPU allocation details for the compute shape.

        Each item represents one underlying capacity allocation.

        Parameters:
        gpuAllocations - the value to set
        Returns:
        this builder