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