Class CfnClusterPropsMixin.ClusterOrchestratorSlurmConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnClusterPropsMixin.ClusterOrchestratorSlurmConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterPropsMixin.ClusterOrchestratorSlurmConfigProperty>
- Enclosing interface:
CfnClusterPropsMixin.ClusterOrchestratorSlurmConfigProperty
@Stability(Stable)
public static final class CfnClusterPropsMixin.ClusterOrchestratorSlurmConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterPropsMixin.ClusterOrchestratorSlurmConfigProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountingDatabase(CfnClusterPropsMixin.ClusterAccountingDatabaseProperty accountingDatabase) accountingDatabase(IResolvable accountingDatabase) build()Builds the configured instance.slurmConfigStrategy(String slurmConfigStrategy)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accountingDatabase
@Stability(Stable) public CfnClusterPropsMixin.ClusterOrchestratorSlurmConfigProperty.Builder accountingDatabase(IResolvable accountingDatabase) Sets the value ofCfnClusterPropsMixin.ClusterOrchestratorSlurmConfigProperty.getAccountingDatabase()- Parameters:
accountingDatabase- External MySQL-compatible accounting database that a Slurm cluster's slurmdbd connects to. Database credentials are supplied out-of-band through the referenced Secrets Manager secret. Supported only with Continuous node provisioning.- Returns:
this
-
accountingDatabase
@Stability(Stable) public CfnClusterPropsMixin.ClusterOrchestratorSlurmConfigProperty.Builder accountingDatabase(CfnClusterPropsMixin.ClusterAccountingDatabaseProperty accountingDatabase) Sets the value ofCfnClusterPropsMixin.ClusterOrchestratorSlurmConfigProperty.getAccountingDatabase()- Parameters:
accountingDatabase- External MySQL-compatible accounting database that a Slurm cluster's slurmdbd connects to. Database credentials are supplied out-of-band through the referenced Secrets Manager secret. Supported only with Continuous node provisioning.- Returns:
this
-
slurmConfigStrategy
@Stability(Stable) public CfnClusterPropsMixin.ClusterOrchestratorSlurmConfigProperty.Builder slurmConfigStrategy(String slurmConfigStrategy) Sets the value ofCfnClusterPropsMixin.ClusterOrchestratorSlurmConfigProperty.getSlurmConfigStrategy()- Parameters:
slurmConfigStrategy- The strategy for managing Slurm configuration on the cluster.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClusterPropsMixin.ClusterOrchestratorSlurmConfigProperty>- Returns:
- a new instance of
CfnClusterPropsMixin.ClusterOrchestratorSlurmConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-