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