Class JobStepOutput.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.github.workflows.JobStepOutput.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<JobStepOutput>
- Enclosing interface:
- JobStepOutput
@Stability(Experimental) public static final class JobStepOutput.Builder extends Object implements software.amazon.jsii.Builder<JobStepOutput>
A builder forJobStepOutput
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobStepOutputbuild()Builds the configured instance.JobStepOutput.BuilderoutputName(String outputName)Sets the value ofJobStepOutput.getOutputName()JobStepOutput.BuilderstepId(String stepId)Sets the value ofJobStepOutput.getStepId()
-
-
-
Method Detail
-
outputName
@Stability(Experimental) public JobStepOutput.Builder outputName(String outputName)
Sets the value ofJobStepOutput.getOutputName()- Parameters:
outputName- The name of the job output that is being bound. This parameter is required.- Returns:
this
-
stepId
@Stability(Experimental) public JobStepOutput.Builder stepId(String stepId)
Sets the value ofJobStepOutput.getStepId()- Parameters:
stepId- The ID of the step that exposes the output. This parameter is required.- Returns:
this
-
build
@Stability(Experimental) public JobStepOutput build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<JobStepOutput>- Returns:
- a new instance of
JobStepOutput - Throws:
NullPointerException- if any required attribute was not provided
-
-