Class CfnCluster.SchedulerProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pcs.CfnCluster.SchedulerProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCluster.SchedulerProperty>
- Enclosing interface:
CfnCluster.SchedulerProperty
@Stability(Stable)
public static final class CfnCluster.SchedulerProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCluster.SchedulerProperty>
A builder for
CfnCluster.SchedulerProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnCluster.SchedulerProperty.getType()Sets the value ofCfnCluster.SchedulerProperty.getVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
Sets the value ofCfnCluster.SchedulerProperty.getType()- Parameters:
type- The software AWS PCS uses to manage cluster scaling and job scheduling. This parameter is required.- Returns:
this
-
version
Sets the value ofCfnCluster.SchedulerProperty.getVersion()- Parameters:
version- The version of the specified scheduling software that AWS PCS uses to manage cluster scaling and job scheduling. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCluster.SchedulerProperty>- Returns:
- a new instance of
CfnCluster.SchedulerProperty - Throws:
NullPointerException- if any required attribute was not provided
-