Interface CreateRunGroupRequest.Builder

  • Method Details

    • name

      A name for the group.

      Parameters:
      name - A name for the group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxCpus

      The maximum number of CPUs that can run concurrently across all active runs in the run group.

      Parameters:
      maxCpus - The maximum number of CPUs that can run concurrently across all active runs in the run group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxRuns

      The maximum number of runs that can be running at the same time.

      Parameters:
      maxRuns - The maximum number of runs that can be running at the same time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxDuration

      CreateRunGroupRequest.Builder maxDuration(Integer maxDuration)

      The maximum time for each run (in minutes). If a run exceeds the maximum run time, the run fails automatically.

      Parameters:
      maxDuration - The maximum time for each run (in minutes). If a run exceeds the maximum run time, the run fails automatically.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Tags for the group.

      Parameters:
      tags - Tags for the group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestId

      CreateRunGroupRequest.Builder requestId(String requestIdValue)

      To ensure that requests don't run multiple times, specify a unique ID for each request.

      Parameters:
      requestIdValue - To ensure that requests don't run multiple times, specify a unique ID for each request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxGpus

      The maximum number of GPUs that can run concurrently across all active runs in the run group.

      Parameters:
      maxGpus - The maximum number of GPUs that can run concurrently across all active runs in the run group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateRunGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.