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 GPU(s) on the container instance.
|
PlatformDevice.Builder |
type(PlatformDeviceType type)
The type of device that is available on the container instance.
|
PlatformDevice.Builder |
type(String type)
The type of device that is available on the container instance.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
PlatformDevice.Builder id(String id)
The ID for the GPU(s) 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 GPU(s) 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 is available on the container instance. The only supported value is GPU
.
type
- The type of device that is available on the container instance. The only supported value is
GPU
.PlatformDeviceType
,
PlatformDeviceType
PlatformDevice.Builder type(PlatformDeviceType type)
The type of device that is available on the container instance. The only supported value is GPU
.
type
- The type of device that is available on the container instance. The only supported value is
GPU
.PlatformDeviceType
,
PlatformDeviceType
Copyright © 2021. All rights reserved.