Interface ClusterOrchestratorSlurmConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ClusterOrchestratorSlurmConfig.Builder,,ClusterOrchestratorSlurmConfig> SdkBuilder<ClusterOrchestratorSlurmConfig.Builder,,ClusterOrchestratorSlurmConfig> SdkPojo
- Enclosing class:
ClusterOrchestratorSlurmConfig
-
Method Summary
Modifier and TypeMethodDescriptionaccountingDatabase(Consumer<ClusterAccountingDatabase.Builder> accountingDatabase) The external database that stores the Slurm accounting data for the cluster, such as job history, associations, and usage.accountingDatabase(ClusterAccountingDatabase accountingDatabase) The external database that stores the Slurm accounting data for the cluster, such as job history, associations, and usage.slurmConfigStrategy(String slurmConfigStrategy) The strategy for managing partitions for the Slurm configuration.slurmConfigStrategy(ClusterSlurmConfigStrategy slurmConfigStrategy) The strategy for managing partitions for the Slurm configuration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
slurmConfigStrategy
The strategy for managing partitions for the Slurm configuration. Valid values are
Managed,Overwrite, andMerge.- Parameters:
slurmConfigStrategy- The strategy for managing partitions for the Slurm configuration. Valid values areManaged,Overwrite, andMerge.- 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, andMerge.- Parameters:
slurmConfigStrategy- The strategy for managing partitions for the Slurm configuration. Valid values areManaged,Overwrite, andMerge.- 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
Continuousas theNodeProvisioningMode.- 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
Continuousas theNodeProvisioningMode.- 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 is a convenience method that creates an instance of theThis field is only supported for clusters using
Continuousas theNodeProvisioningMode.ClusterAccountingDatabase.Builderavoiding the need to create one manually viaClusterAccountingDatabase.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccountingDatabase(ClusterAccountingDatabase).- Parameters:
accountingDatabase- a consumer that will call methods onClusterAccountingDatabase.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-