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