Class CfnCluster.SlurmCustomSettingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pcs.CfnCluster.SlurmCustomSettingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCluster.SlurmCustomSettingProperty>
- Enclosing interface:
CfnCluster.SlurmCustomSettingProperty
@Stability(Stable)
public static final class CfnCluster.SlurmCustomSettingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCluster.SlurmCustomSettingProperty>
A builder for
CfnCluster.SlurmCustomSettingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.parameterName(String parameterName) Sets the value ofCfnCluster.SlurmCustomSettingProperty.getParameterName()parameterValue(String parameterValue) Sets the value ofCfnCluster.SlurmCustomSettingProperty.getParameterValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
parameterName
@Stability(Stable) public CfnCluster.SlurmCustomSettingProperty.Builder parameterName(String parameterName) Sets the value ofCfnCluster.SlurmCustomSettingProperty.getParameterName()- Parameters:
parameterName- AWS PCS supports custom Slurm settings for clusters, compute node groups, and queues. This parameter is required. For more information, see Configuring custom Slurm settings in AWS PCS in the AWS PCS User Guide .- Returns:
this
-
parameterValue
@Stability(Stable) public CfnCluster.SlurmCustomSettingProperty.Builder parameterValue(String parameterValue) Sets the value ofCfnCluster.SlurmCustomSettingProperty.getParameterValue()- Parameters:
parameterValue- The values for the configured Slurm settings. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCluster.SlurmCustomSettingProperty>- Returns:
- a new instance of
CfnCluster.SlurmCustomSettingProperty - Throws:
NullPointerException- if any required attribute was not provided
-