public static interface GpuInfo.Builder extends SdkPojo, CopyableBuilder<GpuInfo.Builder,GpuInfo>
| Modifier and Type | Method and Description |
|---|---|
GpuInfo.Builder |
gpus(Collection<GpuDeviceInfo> gpus)
Describes the GPU accelerators for the instance type.
|
GpuInfo.Builder |
gpus(Consumer<GpuDeviceInfo.Builder>... gpus)
Describes the GPU accelerators for the instance type.
|
GpuInfo.Builder |
gpus(GpuDeviceInfo... gpus)
Describes the GPU accelerators for the instance type.
|
GpuInfo.Builder |
totalGpuMemoryInMiB(Integer totalGpuMemoryInMiB)
The total size of the memory for the GPU accelerators for the instance type, in MiB.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildGpuInfo.Builder gpus(Collection<GpuDeviceInfo> gpus)
Describes the GPU accelerators for the instance type.
gpus - Describes the GPU accelerators for the instance type.GpuInfo.Builder gpus(GpuDeviceInfo... gpus)
Describes the GPU accelerators for the instance type.
gpus - Describes the GPU accelerators for the instance type.GpuInfo.Builder gpus(Consumer<GpuDeviceInfo.Builder>... gpus)
Describes the GPU accelerators for the instance type.
This is a convenience method that creates an instance of theList.Builder avoiding the
need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #gpus(List) .gpus - a consumer that will call methods on List.Builder #gpus(List) GpuInfo.Builder totalGpuMemoryInMiB(Integer totalGpuMemoryInMiB)
The total size of the memory for the GPU accelerators for the instance type, in MiB.
totalGpuMemoryInMiB - The total size of the memory for the GPU accelerators for the instance type, in MiB.Copyright © 2022. All rights reserved.