Interface ClusterOrchestratorSlurmConfig.Builder

  • Method Details

    • slurmConfigStrategy

      ClusterOrchestratorSlurmConfig.Builder slurmConfigStrategy(String slurmConfigStrategy)

      The strategy for managing partitions for the Slurm configuration. Valid values are Managed, Overwrite, and Merge.

      Parameters:
      slurmConfigStrategy - The strategy for managing partitions for the Slurm configuration. Valid values are Managed, Overwrite, and Merge.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • slurmConfigStrategy

      ClusterOrchestratorSlurmConfig.Builder slurmConfigStrategy(ClusterSlurmConfigStrategy slurmConfigStrategy)

      The strategy for managing partitions for the Slurm configuration. Valid values are Managed, Overwrite, and Merge.

      Parameters:
      slurmConfigStrategy - The strategy for managing partitions for the Slurm configuration. Valid values are Managed, Overwrite, and Merge.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • accountingDatabase

      ClusterOrchestratorSlurmConfig.Builder accountingDatabase(ClusterAccountingDatabase accountingDatabase)

      The external database that stores the Slurm accounting data for the cluster, such as job history, associations, and usage. When you omit this field, Slurm accounting uses a database on the cluster's controller node.

      This field is only supported for clusters using Continuous as the NodeProvisioningMode.

      Parameters:
      accountingDatabase - The external database that stores the Slurm accounting data for the cluster, such as job history, associations, and usage. When you omit this field, Slurm accounting uses a database on the cluster's controller node.

      This field is only supported for clusters using Continuous as the NodeProvisioningMode.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accountingDatabase

      default ClusterOrchestratorSlurmConfig.Builder accountingDatabase(Consumer<ClusterAccountingDatabase.Builder> accountingDatabase)

      The external database that stores the Slurm accounting data for the cluster, such as job history, associations, and usage. When you omit this field, Slurm accounting uses a database on the cluster's controller node.

      This field is only supported for clusters using Continuous as the NodeProvisioningMode.

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

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

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