Interface PlatformDevice.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PlatformDevice.Builder,,PlatformDevice> SdkBuilder<PlatformDevice.Builder,,PlatformDevice> SdkPojo
- Enclosing class:
PlatformDevice
@Mutable
@NotThreadSafe
public static interface PlatformDevice.Builder
extends SdkPojo, CopyableBuilder<PlatformDevice.Builder,PlatformDevice>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID for the GPU or Neuron device on the container instance.The type of device that's available on the container instance.type(PlatformDeviceType type) The type of device that's available on the container instance.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
id
The ID for the GPU or Neuron device on the container instance. For GPUs, the available GPU IDs can also be obtained on the container instance in the
/var/lib/ecs/gpu/nvidia_gpu_info.jsonfile. For Neuron devices, the ID corresponds to the device index (for example,0for/dev/neuron0).- Parameters:
id- The ID for the GPU or Neuron device on the container instance. For GPUs, the available GPU IDs can also be obtained on the container instance in the/var/lib/ecs/gpu/nvidia_gpu_info.jsonfile. For Neuron devices, the ID corresponds to the device index (for example,0for/dev/neuron0).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of device that's available on the container instance. The supported values are
GPUandNEURON_DEVICE.- Parameters:
type- The type of device that's available on the container instance. The supported values areGPUandNEURON_DEVICE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of device that's available on the container instance. The supported values are
GPUandNEURON_DEVICE.- Parameters:
type- The type of device that's available on the container instance. The supported values areGPUandNEURON_DEVICE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-