Class JobDefaults.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.github.workflows.JobDefaults.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<JobDefaults>
- Enclosing interface:
- JobDefaults
@Stability(Experimental) public static final class JobDefaults.Builder extends Object implements software.amazon.jsii.Builder<JobDefaults>
A builder forJobDefaults
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobDefaultsbuild()Builds the configured instance.JobDefaults.Builderrun(RunSettings run)Sets the value ofJobDefaults.getRun()
-
-
-
Method Detail
-
run
@Stability(Experimental) public JobDefaults.Builder run(RunSettings run)
Sets the value ofJobDefaults.getRun()- Parameters:
run- Default run settings.- Returns:
this
-
build
@Stability(Experimental) public JobDefaults build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<JobDefaults>- Returns:
- a new instance of
JobDefaults - Throws:
NullPointerException- if any required attribute was not provided
-
-