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