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 theGpuDeviceInfo.Builder avoiding the need to create one
manually via GpuDeviceInfo.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #gpus(List.
gpus - a consumer that will call methods on
GpuDeviceInfo.Builder#gpus(java.util.Collection) 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.