Class CfnClusterPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pcs.CfnClusterPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterPropsMixin>
- Enclosing class:
CfnClusterPropsMixin
@Stability(Stable)
public static final class CfnClusterPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterPropsMixin>
A fluent builder for
CfnClusterPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnClusterPropsMixin.Buildercreate()static CfnClusterPropsMixin.Buildercreate(CfnPropertyMixinOptions options) The name that identifies the cluster.networking(CfnClusterPropsMixin.NetworkingProperty networking) The networking configuration for the cluster's control plane.networking(IResolvable networking) The networking configuration for the cluster's control plane.scheduler(CfnClusterPropsMixin.SchedulerProperty scheduler) The cluster management and job scheduling software associated with the cluster.scheduler(IResolvable scheduler) The cluster management and job scheduling software associated with the cluster.The size of the cluster.slurmConfiguration(CfnClusterPropsMixin.SlurmConfigurationProperty slurmConfiguration) Additional options related to the Slurm scheduler.slurmConfiguration(IResolvable slurmConfiguration) Additional options related to the Slurm scheduler.1 or more tags added to the resource.
-
Method Details
-
create
@Stability(Stable) public static CfnClusterPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnClusterPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnClusterPropsMixin.Builder.
-
name
The name that identifies the cluster.- Parameters:
name- The name that identifies the cluster. This parameter is required.- Returns:
this- See Also:
-
networking
The networking configuration for the cluster's control plane.- Parameters:
networking- The networking configuration for the cluster's control plane. This parameter is required.- Returns:
this- See Also:
-
networking
@Stability(Stable) public CfnClusterPropsMixin.Builder networking(CfnClusterPropsMixin.NetworkingProperty networking) The networking configuration for the cluster's control plane.- Parameters:
networking- The networking configuration for the cluster's control plane. This parameter is required.- Returns:
this- See Also:
-
scheduler
The cluster management and job scheduling software associated with the cluster.- Parameters:
scheduler- The cluster management and job scheduling software associated with the cluster. This parameter is required.- Returns:
this- See Also:
-
scheduler
@Stability(Stable) public CfnClusterPropsMixin.Builder scheduler(CfnClusterPropsMixin.SchedulerProperty scheduler) The cluster management and job scheduling software associated with the cluster.- Parameters:
scheduler- The cluster management and job scheduling software associated with the cluster. This parameter is required.- Returns:
this- See Also:
-
size
The size of the cluster.SMALL: 32 compute nodes and 256 jobsMEDIUM: 512 compute nodes and 8192 jobsLARGE: 2048 compute nodes and 16,384 jobs
- Parameters:
size- The size of the cluster. This parameter is required.- Returns:
this- See Also:
-
slurmConfiguration
@Stability(Stable) public CfnClusterPropsMixin.Builder slurmConfiguration(IResolvable slurmConfiguration) Additional options related to the Slurm scheduler.- Parameters:
slurmConfiguration- Additional options related to the Slurm scheduler. This parameter is required.- Returns:
this- See Also:
-
slurmConfiguration
@Stability(Stable) public CfnClusterPropsMixin.Builder slurmConfiguration(CfnClusterPropsMixin.SlurmConfigurationProperty slurmConfiguration) Additional options related to the Slurm scheduler.- Parameters:
slurmConfiguration- Additional options related to the Slurm scheduler. This parameter is required.- Returns:
this- See Also:
-
tags
1 or more tags added to the resource.Each tag consists of a tag key and tag value. The tag value is optional and can be an empty string.
- Parameters:
tags- 1 or more tags added to the resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClusterPropsMixin>- Returns:
- a newly built instance of
CfnClusterPropsMixin.
-