Interface ComputeNodeGroupSlurmConfiguration.Builder

  • Method Details

    • scaleDownIdleTimeInSeconds

      ComputeNodeGroupSlurmConfiguration.Builder scaleDownIdleTimeInSeconds(Integer scaleDownIdleTimeInSeconds)

      The time (in seconds) before an idle node is scaled down. If not specified, the cluster-level setting applies. This overrides the cluster-level scaleDownIdleTimeInSeconds setting. A value of -1 removes the override and applies the cluster-level setting to this compute node group. Requires Slurm version 25.11 or later.

      Parameters:
      scaleDownIdleTimeInSeconds - The time (in seconds) before an idle node is scaled down. If not specified, the cluster-level setting applies. This overrides the cluster-level scaleDownIdleTimeInSeconds setting. A value of -1 removes the override and applies the cluster-level setting to this compute node group. Requires Slurm version 25.11 or later.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • slurmCustomSettings

      Additional Slurm-specific configuration that directly maps to Slurm settings.

      Parameters:
      slurmCustomSettings - Additional Slurm-specific configuration that directly maps to Slurm settings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • slurmCustomSettings

      ComputeNodeGroupSlurmConfiguration.Builder slurmCustomSettings(SlurmCustomSetting... slurmCustomSettings)

      Additional Slurm-specific configuration that directly maps to Slurm settings.

      Parameters:
      slurmCustomSettings - Additional Slurm-specific configuration that directly maps to Slurm settings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • slurmCustomSettings

      Additional Slurm-specific configuration that directly maps to Slurm settings.

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

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

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