Class CfnQueuePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pcs.CfnQueuePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnQueuePropsMixin>
- Enclosing class:
CfnQueuePropsMixin
@Stability(Stable)
public static final class CfnQueuePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnQueuePropsMixin>
A fluent builder for
CfnQueuePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()The ID of the cluster of the queue.computeNodeGroupConfigurations(List<? extends Object> computeNodeGroupConfigurations) The list of compute node group configurations associated with the queue.computeNodeGroupConfigurations(IResolvable computeNodeGroupConfigurations) The list of compute node group configurations associated with the queue.static CfnQueuePropsMixin.Buildercreate()static CfnQueuePropsMixin.Buildercreate(CfnPropertyMixinOptions options) The name that identifies the queue.slurmConfiguration(CfnQueuePropsMixin.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
- Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnQueuePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnQueuePropsMixin.Builder.
-
clusterId
The ID of the cluster of the queue.- Parameters:
clusterId- The ID of the cluster of the queue. This parameter is required.- Returns:
this- See Also:
-
computeNodeGroupConfigurations
@Stability(Stable) public CfnQueuePropsMixin.Builder computeNodeGroupConfigurations(IResolvable computeNodeGroupConfigurations) The list of compute node group configurations associated with the queue.Queues assign jobs to associated compute node groups.
- Parameters:
computeNodeGroupConfigurations- The list of compute node group configurations associated with the queue. This parameter is required.- Returns:
this- See Also:
-
computeNodeGroupConfigurations
@Stability(Stable) public CfnQueuePropsMixin.Builder computeNodeGroupConfigurations(List<? extends Object> computeNodeGroupConfigurations) The list of compute node group configurations associated with the queue.Queues assign jobs to associated compute node groups.
- Parameters:
computeNodeGroupConfigurations- The list of compute node group configurations associated with the queue. This parameter is required.- Returns:
this- See Also:
-
name
The name that identifies the queue.- Parameters:
name- The name that identifies the queue. This parameter is required.- Returns:
this- See Also:
-
slurmConfiguration
@Stability(Stable) public CfnQueuePropsMixin.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 CfnQueuePropsMixin.Builder slurmConfiguration(CfnQueuePropsMixin.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<CfnQueuePropsMixin>- Returns:
- a newly built instance of
CfnQueuePropsMixin.
-