Interface AcceleratorCapabilities.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AcceleratorCapabilities.Builder,
,AcceleratorCapabilities> SdkBuilder<AcceleratorCapabilities.Builder,
,AcceleratorCapabilities> SdkPojo
- Enclosing class:
AcceleratorCapabilities
-
Method Summary
Modifier and TypeMethodDescriptiondefault AcceleratorCapabilities.Builder
The number of GPUs on each worker.count
(AcceleratorCountRange count) The number of GPUs on each worker.selections
(Collection<AcceleratorSelection> selections) A list of objects that contain the GPU name of the accelerator and driver for the instance types that support the accelerator.selections
(Consumer<AcceleratorSelection.Builder>... selections) A list of objects that contain the GPU name of the accelerator and driver for the instance types that support the accelerator.selections
(AcceleratorSelection... selections) A list of objects that contain the GPU name of the accelerator and driver for the instance types that support the accelerator.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 Details
-
selections
A list of objects that contain the GPU name of the accelerator and driver for the instance types that support the accelerator.
- Parameters:
selections
- A list of objects that contain the GPU name of the accelerator and driver for the instance types that support the accelerator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selections
A list of objects that contain the GPU name of the accelerator and driver for the instance types that support the accelerator.
- Parameters:
selections
- A list of objects that contain the GPU name of the accelerator and driver for the instance types that support the accelerator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selections
A list of objects that contain the GPU name of the accelerator and driver for the instance types that support the accelerator.
This is a convenience method that creates an instance of theAcceleratorSelection.Builder
avoiding the need to create one manually viaAcceleratorSelection.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toselections(List<AcceleratorSelection>)
.- Parameters:
selections
- a consumer that will call methods onAcceleratorSelection.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
count
The number of GPUs on each worker. The default is 1.
- Parameters:
count
- The number of GPUs on each worker. The default is 1.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
count
The number of GPUs on each worker. The default is 1.
This is a convenience method that creates an instance of theAcceleratorCountRange.Builder
avoiding the need to create one manually viaAcceleratorCountRange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocount(AcceleratorCountRange)
.- Parameters:
count
- a consumer that will call methods onAcceleratorCountRange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-