Package io.github.cdklabs.projen.python
Class PythonExecutableOptions.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.python.PythonExecutableOptions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<PythonExecutableOptions>
- Enclosing interface:
- PythonExecutableOptions
@Stability(Experimental) public static final class PythonExecutableOptions.Builder extends Object implements software.amazon.jsii.Builder<PythonExecutableOptions>
A builder forPythonExecutableOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PythonExecutableOptionsbuild()Builds the configured instance.PythonExecutableOptions.BuilderpythonExec(String pythonExec)Sets the value ofPythonExecutableOptions.getPythonExec()
-
-
-
Method Detail
-
pythonExec
@Stability(Experimental) public PythonExecutableOptions.Builder pythonExec(String pythonExec)
Sets the value ofPythonExecutableOptions.getPythonExec()- Parameters:
pythonExec- Path to the python executable to use.- Returns:
this
-
build
@Stability(Experimental) public PythonExecutableOptions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PythonExecutableOptions>- Returns:
- a new instance of
PythonExecutableOptions - Throws:
NullPointerException- if any required attribute was not provided
-
-