Class BatchJobDependency.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.tasks.BatchJobDependency.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BatchJobDependency>
- Enclosing interface:
- BatchJobDependency
@Stability(Stable)
public static final class BatchJobDependency.Builder
extends Object
implements software.amazon.jsii.Builder<BatchJobDependency>
A builder for
BatchJobDependency
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofBatchJobDependency.getJobId()
Sets the value ofBatchJobDependency.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
jobId
Sets the value ofBatchJobDependency.getJobId()
- Parameters:
jobId
- The job ID of the AWS Batch job associated with this dependency.- Returns:
this
-
type
Sets the value ofBatchJobDependency.getType()
- Parameters:
type
- The type of the job dependency.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<BatchJobDependency>
- Returns:
- a new instance of
BatchJobDependency
- Throws:
NullPointerException
- if any required attribute was not provided
-