Interface CreateRunGroupRequest.Builder

    • Method Detail

      • name

        CreateRunGroupRequest.Builder name​(String 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

        CreateRunGroupRequest.Builder maxCpus​(Integer 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

        CreateRunGroupRequest.Builder maxRuns​(Integer 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

        CreateRunGroupRequest.Builder tags​(Map<String,​String> 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

        CreateRunGroupRequest.Builder maxGpus​(Integer 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.