Interface PlatformDevice.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PlatformDevice.Builder,PlatformDevice>,SdkBuilder<PlatformDevice.Builder,PlatformDevice>,SdkPojo
- Enclosing class:
- PlatformDevice
public static interface PlatformDevice.Builder extends SdkPojo, CopyableBuilder<PlatformDevice.Builder,PlatformDevice>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PlatformDevice.Builderid(String id)The ID for the GPUs on the container instance.PlatformDevice.Buildertype(String type)The type of device that's available on the container instance.PlatformDevice.Buildertype(PlatformDeviceType type)The type of device that's available on the container instance.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
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.jsonfile.- 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.jsonfile.- 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 isGPU.- 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 isGPU.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PlatformDeviceType,PlatformDeviceType
-
-