public static interface GpuInfo.Builder extends SdkPojo, CopyableBuilder<GpuInfo.Builder,GpuInfo>
| Modifier and Type | Method and Description |
|---|---|
GpuInfo.Builder |
gpus(Collection<Gpu> gpus)
Describes the GPU accelerators for the instance type.
|
GpuInfo.Builder |
gpus(Consumer<Gpu.Builder>... gpus)
Describes the GPU accelerators for the instance type.
|
GpuInfo.Builder |
gpus(Gpu... gpus)
Describes the GPU accelerators for the instance type.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildGpuInfo.Builder gpus(Collection<Gpu> gpus)
Describes the GPU accelerators for the instance type.
gpus - Describes the GPU accelerators for the instance type.GpuInfo.Builder gpus(Gpu... gpus)
Describes the GPU accelerators for the instance type.
gpus - Describes the GPU accelerators for the instance type.GpuInfo.Builder gpus(Consumer<Gpu.Builder>... gpus)
Describes the GPU accelerators for the instance type.
This is a convenience method that creates an instance of theGpu.Builder avoiding the need to create one
manually via Gpu.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
Gpu.Builder#gpus(java.util.Collection) Copyright © 2023. All rights reserved.