Interface PlatformDevice.Builder

    • Method Detail

      • id

        PlatformDevice.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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        PlatformDevice.Builder type​(String type)

        The type of device that's available on the container instance. The only supported value is GPU.

        Parameters:
        type - The type of device that's available on the container instance. The only supported value is GPU.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PlatformDeviceType, PlatformDeviceType
      • type

        PlatformDevice.Builder type​(PlatformDeviceType type)

        The type of device that's available on the container instance. The only supported value is GPU.

        Parameters:
        type - The type of device that's available on the container instance. The only supported value is GPU.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PlatformDeviceType, PlatformDeviceType