Class CfnQueue.SlurmCustomSettingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pcs.CfnQueue.SlurmCustomSettingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnQueue.SlurmCustomSettingProperty>
- Enclosing interface:
CfnQueue.SlurmCustomSettingProperty
@Stability(Stable)
public static final class CfnQueue.SlurmCustomSettingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnQueue.SlurmCustomSettingProperty>
A builder for
CfnQueue.SlurmCustomSettingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.parameterName(String parameterName) Sets the value ofCfnQueue.SlurmCustomSettingProperty.getParameterName()parameterValue(String parameterValue) Sets the value ofCfnQueue.SlurmCustomSettingProperty.getParameterValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
parameterName
@Stability(Stable) public CfnQueue.SlurmCustomSettingProperty.Builder parameterName(String parameterName) Sets the value ofCfnQueue.SlurmCustomSettingProperty.getParameterName()- Parameters:
parameterName- AWS PCS supports configuration of the Slurm parameters for queues:. This parameter is required.- Returns:
this
-
parameterValue
@Stability(Stable) public CfnQueue.SlurmCustomSettingProperty.Builder parameterValue(String parameterValue) Sets the value ofCfnQueue.SlurmCustomSettingProperty.getParameterValue()- Parameters:
parameterValue- The value for the configured Slurm setting. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnQueue.SlurmCustomSettingProperty>- Returns:
- a new instance of
CfnQueue.SlurmCustomSettingProperty - Throws:
NullPointerException- if any required attribute was not provided
-