Interface AcceleratorCapabilities.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AcceleratorCapabilities.Builder,,AcceleratorCapabilities> SdkBuilder<AcceleratorCapabilities.Builder,,AcceleratorCapabilities> SdkPojo
- Enclosing class:
AcceleratorCapabilities
-
Method Summary
Modifier and TypeMethodDescriptiondefault AcceleratorCapabilities.BuilderThe 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
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
-
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, Amazon Web Services Deadline Cloud will use Amazon EC2 instances that have either the L4 or the T4 chip installed.
-
You must specify at least one accelerator selection.
-
You cannot specify the same accelerator name multiple times in the selections list.
-
All accelerators in the selections must use the same runtime version.
- 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, Amazon Web Services Deadline Cloud will use Amazon EC2 instances that have either the L4 or the T4 chip installed.-
You must specify at least one accelerator selection.
-
You cannot specify the same accelerator name multiple times in the selections list.
-
All accelerators in the selections must use the same runtime version.
-
- 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, Amazon Web Services Deadline Cloud will use Amazon EC2 instances that have either the L4 or the T4 chip installed.
-
You must specify at least one accelerator selection.
-
You cannot specify the same accelerator name multiple times in the selections list.
-
All accelerators in the selections must use the same runtime version.
- 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, Amazon Web Services Deadline Cloud will use Amazon EC2 instances that have either the L4 or the T4 chip installed.-
You must specify at least one accelerator selection.
-
You cannot specify the same accelerator name multiple times in the selections list.
-
All accelerators in the selections must use the same runtime version.
-
- 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, Amazon Web Services 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 the-
You must specify at least one accelerator selection.
-
You cannot specify the same accelerator name multiple times in the selections list.
-
All accelerators in the selections must use the same runtime version.
AcceleratorSelection.Builderavoiding the need to create one manually viaAcceleratorSelection.builder().When the
Consumercompletes,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.
You must specify either
acceleratorCapabilities.count.maxorallowedInstanceTypeswhen using accelerator capabilities. If you don't specify a maximum count, Amazon Web Services Deadline Cloud uses the instance types you specify inallowedInstanceTypesto determine the maximum number of accelerators.- Parameters:
count- The number of GPU accelerators specified for worker hosts in this fleet.You must specify either
acceleratorCapabilities.count.maxorallowedInstanceTypeswhen using accelerator capabilities. If you don't specify a maximum count, Amazon Web Services Deadline Cloud uses the instance types you specify inallowedInstanceTypesto determine the maximum number of accelerators.- 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 theYou must specify either
acceleratorCapabilities.count.maxorallowedInstanceTypeswhen using accelerator capabilities. If you don't specify a maximum count, Amazon Web Services Deadline Cloud uses the instance types you specify inallowedInstanceTypesto determine the maximum number of accelerators.AcceleratorCountRange.Builderavoiding the need to create one manually viaAcceleratorCountRange.builder().When the
Consumercompletes,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:
-