Class CfnJobPropsMixin.ExecutionPropertyProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.glue.CfnJobPropsMixin.ExecutionPropertyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnJobPropsMixin.ExecutionPropertyProperty>
- Enclosing interface:
CfnJobPropsMixin.ExecutionPropertyProperty
@Stability(Stable)
public static final class CfnJobPropsMixin.ExecutionPropertyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnJobPropsMixin.ExecutionPropertyProperty>
A builder for
CfnJobPropsMixin.ExecutionPropertyProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.maxConcurrentRuns(Number maxConcurrentRuns) Sets the value ofCfnJobPropsMixin.ExecutionPropertyProperty.getMaxConcurrentRuns()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maxConcurrentRuns
@Stability(Stable) public CfnJobPropsMixin.ExecutionPropertyProperty.Builder maxConcurrentRuns(Number maxConcurrentRuns) Sets the value ofCfnJobPropsMixin.ExecutionPropertyProperty.getMaxConcurrentRuns()- Parameters:
maxConcurrentRuns- The maximum number of concurrent runs allowed for the job. The default is 1. An error is returned when this threshold is reached. The maximum value you can specify is controlled by a service limit.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnJobPropsMixin.ExecutionPropertyProperty>- Returns:
- a new instance of
CfnJobPropsMixin.ExecutionPropertyProperty - Throws:
NullPointerException- if any required attribute was not provided
-