Class CfnJob.ExecutionPropertyProperty.Builder
java.lang.Object
software.amazon.awscdk.services.glue.CfnJob.ExecutionPropertyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnJob.ExecutionPropertyProperty>
- Enclosing interface:
- CfnJob.ExecutionPropertyProperty
@Stability(Stable)
public static final class CfnJob.ExecutionPropertyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnJob.ExecutionPropertyProperty>
A builder for
CfnJob.ExecutionPropertyProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.maxConcurrentRuns
(Number maxConcurrentRuns) Sets the value ofCfnJob.ExecutionPropertyProperty.getMaxConcurrentRuns()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maxConcurrentRuns
@Stability(Stable) public CfnJob.ExecutionPropertyProperty.Builder maxConcurrentRuns(Number maxConcurrentRuns) Sets the value ofCfnJob.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnJob.ExecutionPropertyProperty>
- Returns:
- a new instance of
CfnJob.ExecutionPropertyProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-