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 GPU accelerators specified for worker hosts in this fleet.count
(AcceleratorCountRange count) The number of GPU accelerators specified for worker hosts in this fleet.selections
(Collection<AcceleratorSelection> selections) A list of accelerator capabilities requested for this fleet.selections
(Consumer<AcceleratorSelection.Builder>... selections) A list of accelerator capabilities requested for this fleet.selections
(AcceleratorSelection... selections) A list of accelerator capabilities requested for this fleet.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 accelerator capabilities requested for this fleet. Only Amazon Elastic Compute Cloud instances that provide these capabilities will be used. For example, if you specify both L4 and T4 chips, Deadline Cloud will use Amazon EC2 instances that have either the L4 or the T4 chip installed.
- Parameters:
selections
- A list of accelerator capabilities requested for this fleet. Only Amazon Elastic Compute Cloud instances that provide these capabilities will be used. For example, if you specify both L4 and T4 chips, Deadline Cloud will use Amazon EC2 instances that have either the L4 or the T4 chip installed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selections
A list of accelerator capabilities requested for this fleet. Only Amazon Elastic Compute Cloud instances that provide these capabilities will be used. For example, if you specify both L4 and T4 chips, Deadline Cloud will use Amazon EC2 instances that have either the L4 or the T4 chip installed.
- Parameters:
selections
- A list of accelerator capabilities requested for this fleet. Only Amazon Elastic Compute Cloud instances that provide these capabilities will be used. For example, if you specify both L4 and T4 chips, Deadline Cloud will use Amazon EC2 instances that have either the L4 or the T4 chip installed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selections
A list of accelerator capabilities requested for this fleet. Only Amazon Elastic Compute Cloud instances that provide these capabilities will be used. For example, if you specify both L4 and T4 chips, Deadline Cloud will use Amazon EC2 instances that have either the L4 or the T4 chip installed.
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 GPU accelerators specified for worker hosts in this fleet.
- Parameters:
count
- The number of GPU accelerators specified for worker hosts in this fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
count
The number of GPU accelerators specified for worker hosts in this fleet.
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:
-