Class CfnClusterPropsMixin.SchedulerProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pcs.CfnClusterPropsMixin.SchedulerProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterPropsMixin.SchedulerProperty>
- Enclosing interface:
CfnClusterPropsMixin.SchedulerProperty
@Stability(Stable)
public static final class CfnClusterPropsMixin.SchedulerProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterPropsMixin.SchedulerProperty>
A builder for
CfnClusterPropsMixin.SchedulerProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnClusterPropsMixin.SchedulerProperty.getType()Sets the value ofCfnClusterPropsMixin.SchedulerProperty.getVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
Sets the value ofCfnClusterPropsMixin.SchedulerProperty.getType()- Parameters:
type- The software AWS PCS uses to manage cluster scaling and job scheduling.- Returns:
this
-
version
Sets the value ofCfnClusterPropsMixin.SchedulerProperty.getVersion()- Parameters:
version- The version of the specified scheduling software that AWS PCS uses to manage cluster scaling and job scheduling. For more information, see Slurm versions in AWS PCS in the AWS PCS User Guide .Valid Values:
23.11 | 24.05 | 24.11- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClusterPropsMixin.SchedulerProperty>- Returns:
- a new instance of
CfnClusterPropsMixin.SchedulerProperty - Throws:
NullPointerException- if any required attribute was not provided
-