Class CfnComputeNodeGroup.SlurmConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pcs.CfnComputeNodeGroup.SlurmConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnComputeNodeGroup.SlurmConfigurationProperty>
- Enclosing interface:
CfnComputeNodeGroup.SlurmConfigurationProperty
@Stability(Stable)
public static final class CfnComputeNodeGroup.SlurmConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnComputeNodeGroup.SlurmConfigurationProperty>
A builder for
CfnComputeNodeGroup.SlurmConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.slurmCustomSettings(List<? extends Object> slurmCustomSettings) Sets the value ofCfnComputeNodeGroup.SlurmConfigurationProperty.getSlurmCustomSettings()slurmCustomSettings(IResolvable slurmCustomSettings) Sets the value ofCfnComputeNodeGroup.SlurmConfigurationProperty.getSlurmCustomSettings()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
slurmCustomSettings
@Stability(Stable) public CfnComputeNodeGroup.SlurmConfigurationProperty.Builder slurmCustomSettings(IResolvable slurmCustomSettings) Sets the value ofCfnComputeNodeGroup.SlurmConfigurationProperty.getSlurmCustomSettings()- Parameters:
slurmCustomSettings- Additional Slurm-specific configuration that directly maps to Slurm settings.- Returns:
this
-
slurmCustomSettings
@Stability(Stable) public CfnComputeNodeGroup.SlurmConfigurationProperty.Builder slurmCustomSettings(List<? extends Object> slurmCustomSettings) Sets the value ofCfnComputeNodeGroup.SlurmConfigurationProperty.getSlurmCustomSettings()- Parameters:
slurmCustomSettings- Additional Slurm-specific configuration that directly maps to Slurm settings.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnComputeNodeGroup.SlurmConfigurationProperty>- Returns:
- a new instance of
CfnComputeNodeGroup.SlurmConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-