Interface AcceleratorCapabilities.Builder

  • 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.

      • 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.

      This is a convenience method that creates an instance of the AcceleratorSelection.Builder avoiding the need to create one manually via AcceleratorSelection.builder() .

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to selections(List<AcceleratorSelection>).

      Parameters:
      selections - a consumer that will call methods on AcceleratorSelection.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.max or allowedInstanceTypes when using accelerator capabilities. If you don't specify a maximum count, Amazon Web Services Deadline Cloud uses the instance types you specify in allowedInstanceTypes to 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.max or allowedInstanceTypes when using accelerator capabilities. If you don't specify a maximum count, Amazon Web Services Deadline Cloud uses the instance types you specify in allowedInstanceTypes to 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.

      You must specify either acceleratorCapabilities.count.max or allowedInstanceTypes when using accelerator capabilities. If you don't specify a maximum count, Amazon Web Services Deadline Cloud uses the instance types you specify in allowedInstanceTypes to determine the maximum number of accelerators.

      This is a convenience method that creates an instance of the AcceleratorCountRange.Builder avoiding the need to create one manually via AcceleratorCountRange.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to count(AcceleratorCountRange).

      Parameters:
      count - a consumer that will call methods on AcceleratorCountRange.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: