Class CfnRunGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.omics.CfnRunGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRunGroupProps>
- Enclosing interface:
CfnRunGroupProps
@Stability(Stable)
public static final class CfnRunGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRunGroupProps>
A builder for
CfnRunGroupProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnRunGroupProps.getMaxCpus()
maxDuration
(Number maxDuration) Sets the value ofCfnRunGroupProps.getMaxDuration()
Sets the value ofCfnRunGroupProps.getMaxGpus()
Sets the value ofCfnRunGroupProps.getMaxRuns()
Sets the value ofCfnRunGroupProps.getName()
Sets the value ofCfnRunGroupProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maxCpus
Sets the value ofCfnRunGroupProps.getMaxCpus()
- Parameters:
maxCpus
- The group's maximum CPU count setting.- Returns:
this
-
maxDuration
Sets the value ofCfnRunGroupProps.getMaxDuration()
- Parameters:
maxDuration
- The group's maximum duration setting in minutes.- Returns:
this
-
maxGpus
Sets the value ofCfnRunGroupProps.getMaxGpus()
- Parameters:
maxGpus
- The maximum GPUs that can be used by a run group.- Returns:
this
-
maxRuns
Sets the value ofCfnRunGroupProps.getMaxRuns()
- Parameters:
maxRuns
- The group's maximum concurrent run setting.- Returns:
this
-
name
Sets the value ofCfnRunGroupProps.getName()
- Parameters:
name
- The group's name.- Returns:
this
-
tags
Sets the value ofCfnRunGroupProps.getTags()
- Parameters:
tags
- Tags for the group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRunGroupProps>
- Returns:
- a new instance of
CfnRunGroupProps
- Throws:
NullPointerException
- if any required attribute was not provided
-