Class JobDriver.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.tasks.JobDriver.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<JobDriver>
- Enclosing interface:
JobDriver
@Stability(Stable)
public static final class JobDriver.Builder
extends Object
implements software.amazon.jsii.Builder<JobDriver>
A builder for
JobDriver
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.sparkSubmitJobDriver
(SparkSubmitJobDriver sparkSubmitJobDriver) Sets the value ofJobDriver.getSparkSubmitJobDriver()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sparkSubmitJobDriver
@Stability(Stable) public JobDriver.Builder sparkSubmitJobDriver(SparkSubmitJobDriver sparkSubmitJobDriver) Sets the value ofJobDriver.getSparkSubmitJobDriver()
- Parameters:
sparkSubmitJobDriver
- The job driver parameters specified for spark submit. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<JobDriver>
- Returns:
- a new instance of
JobDriver
- Throws:
NullPointerException
- if any required attribute was not provided
-