Class RunSettings.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.github.workflows.RunSettings.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<RunSettings>
- Enclosing interface:
- RunSettings
@Stability(Experimental) public static final class RunSettings.Builder extends Object implements software.amazon.jsii.Builder<RunSettings>
A builder forRunSettings
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RunSettingsbuild()Builds the configured instance.RunSettings.Buildershell(String shell)Sets the value ofRunSettings.getShell()RunSettings.BuilderworkingDirectory(String workingDirectory)Sets the value ofRunSettings.getWorkingDirectory()
-
-
-
Method Detail
-
shell
@Stability(Experimental) public RunSettings.Builder shell(String shell)
Sets the value ofRunSettings.getShell()- Parameters:
shell- Which shell to use for running the step.- Returns:
this
-
workingDirectory
@Stability(Experimental) public RunSettings.Builder workingDirectory(String workingDirectory)
Sets the value ofRunSettings.getWorkingDirectory()- Parameters:
workingDirectory- Working directory to use when running the step.- Returns:
this
-
build
@Stability(Experimental) public RunSettings build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<RunSettings>- Returns:
- a new instance of
RunSettings - Throws:
NullPointerException- if any required attribute was not provided
-
-