Class AllocatableGpuSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeai.model.AllocatableGpuSummary.Builder
-
- Enclosing class:
- AllocatableGpuSummary
public static class AllocatableGpuSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AllocatableGpuSummarybuild()AllocatableGpuSummary.BuildercomputeShape(String computeShape)The compute shape for the allocatable GPUs.AllocatableGpuSummary.Buildercopy(AllocatableGpuSummary model)AllocatableGpuSummary.BuildergpuAllocations(List<GpuAllocation> gpuAllocations)The GPU allocation details for the compute shape.AllocatableGpuSummary.BuildermaxAllocatableGpuUnits(Integer maxAllocatableGpuUnits)The largest contiguous number of GPU units available from one reservation-backed host for the compute shape.AllocatableGpuSummary.BuildertotalAvailableGpuUnits(Integer totalAvailableGpuUnits)The total number of available GPU units for the compute shape.AllocatableGpuSummary.BuildertotalUsedGpuUnits(Integer totalUsedGpuUnits)The total number of used GPU units for the compute shape.
-
-
-
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
-
build
public AllocatableGpuSummary build()
-
copy
public AllocatableGpuSummary.Builder copy(AllocatableGpuSummary model)
-
-