Interface UpdateComputeNodeGroupSlurmConfigurationRequest.Builder

  • Method Details

    • scaleDownIdleTimeInSeconds

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

      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:
    • gresCustomSettings

      UpdateComputeNodeGroupSlurmConfigurationRequest.Builder gresCustomSettings(Collection<? extends Map<String,String>> gresCustomSettings)

      The additional Slurm gres.conf records for the compute node group. Each item is a map of gres.conf attribute names to values that describes one gres.conf record, such as a GPU topology, MIG, MPS, or custom GRES entry. PCS adds the NodeName= prefix and merges these records with the GPU record it derives from the instance type.

      Parameters:
      gresCustomSettings - The additional Slurm gres.conf records for the compute node group. Each item is a map of gres.conf attribute names to values that describes one gres.conf record, such as a GPU topology, MIG, MPS, or custom GRES entry. PCS adds the NodeName= prefix and merges these records with the GPU record it derives from the instance type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • gresCustomSettings

      UpdateComputeNodeGroupSlurmConfigurationRequest.Builder gresCustomSettings(Map<String,String>... gresCustomSettings)

      The additional Slurm gres.conf records for the compute node group. Each item is a map of gres.conf attribute names to values that describes one gres.conf record, such as a GPU topology, MIG, MPS, or custom GRES entry. PCS adds the NodeName= prefix and merges these records with the GPU record it derives from the instance type.

      Parameters:
      gresCustomSettings - The additional Slurm gres.conf records for the compute node group. Each item is a map of gres.conf attribute names to values that describes one gres.conf record, such as a GPU topology, MIG, MPS, or custom GRES entry. PCS adds the NodeName= prefix and merges these records with the GPU record it derives from the instance type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.