public static interface PlatformDevice.Builder extends SdkPojo, CopyableBuilder<PlatformDevice.Builder,PlatformDevice>
| Modifier and Type | Method and Description |
|---|---|
PlatformDevice.Builder |
id(String id)
The ID for the GPUs on the container instance.
|
PlatformDevice.Builder |
type(PlatformDeviceType type)
The type of device that's available on the container instance.
|
PlatformDevice.Builder |
type(String type)
The type of device that's available on the container instance.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPlatformDevice.Builder id(String id)
The ID for the GPUs on the container instance. The available GPU IDs can also be obtained on the container
instance in the /var/lib/ecs/gpu/nvidia_gpu_info.json file.
id - The ID for the GPUs on the container instance. The available GPU IDs can also be obtained on the
container instance in the /var/lib/ecs/gpu/nvidia_gpu_info.json file.PlatformDevice.Builder type(String type)
The type of device that's available on the container instance. The only supported value is GPU.
type - The type of device that's available on the container instance. The only supported value is
GPU.PlatformDeviceType,
PlatformDeviceTypePlatformDevice.Builder type(PlatformDeviceType type)
The type of device that's available on the container instance. The only supported value is GPU.
type - The type of device that's available on the container instance. The only supported value is
GPU.PlatformDeviceType,
PlatformDeviceTypeCopyright © 2022. All rights reserved.