Package io.github.cdklabs.projen.vscode
Class VsCodeLaunchConfigurationEntry.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.vscode.VsCodeLaunchConfigurationEntry.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<VsCodeLaunchConfigurationEntry>
- Enclosing interface:
- VsCodeLaunchConfigurationEntry
@Stability(Experimental) public static final class VsCodeLaunchConfigurationEntry.Builder extends Object implements software.amazon.jsii.Builder<VsCodeLaunchConfigurationEntry>
A builder forVsCodeLaunchConfigurationEntry
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
name
@Stability(Experimental) public VsCodeLaunchConfigurationEntry.Builder name(String name)
Sets the value ofVsCodeLaunchConfigurationEntry.getName()- Parameters:
name- the value to be set. This parameter is required.- Returns:
this
-
request
@Stability(Experimental) public VsCodeLaunchConfigurationEntry.Builder request(String request)
Sets the value ofVsCodeLaunchConfigurationEntry.getRequest()- Parameters:
request- the value to be set. This parameter is required.- Returns:
this
-
type
@Stability(Experimental) public VsCodeLaunchConfigurationEntry.Builder type(String type)
Sets the value ofVsCodeLaunchConfigurationEntry.getType()- Parameters:
type- the value to be set. This parameter is required.- Returns:
this
-
args
@Stability(Experimental) public VsCodeLaunchConfigurationEntry.Builder args(List<String> args)
Sets the value ofVsCodeLaunchConfigurationEntry.getArgs()- Parameters:
args- the value to be set.- Returns:
this
-
console
@Stability(Experimental) public VsCodeLaunchConfigurationEntry.Builder console(Console console)
Sets the value ofVsCodeLaunchConfigurationEntry.getConsole()- Parameters:
console- the value to be set.- Returns:
this
-
cwd
@Stability(Experimental) public VsCodeLaunchConfigurationEntry.Builder cwd(String cwd)
Sets the value ofVsCodeLaunchConfigurationEntry.getCwd()- Parameters:
cwd- the value to be set.- Returns:
this
-
debugServer
@Stability(Experimental) public VsCodeLaunchConfigurationEntry.Builder debugServer(Number debugServer)
Sets the value ofVsCodeLaunchConfigurationEntry.getDebugServer()- Parameters:
debugServer- the value to be set.- Returns:
this
-
disableOptimisticBPs
@Stability(Experimental) public VsCodeLaunchConfigurationEntry.Builder disableOptimisticBPs(Boolean disableOptimisticBPs)
Sets the value ofVsCodeLaunchConfigurationEntry.getDisableOptimisticBPs()- Parameters:
disableOptimisticBPs- the value to be set.- Returns:
this
-
env
@Stability(Experimental) public VsCodeLaunchConfigurationEntry.Builder env(Map<String,? extends Object> env)
Sets the value ofVsCodeLaunchConfigurationEntry.getEnv()- Parameters:
env- Set value tofalseto unset an existing environment variable.- Returns:
this
-
envFile
@Stability(Experimental) public VsCodeLaunchConfigurationEntry.Builder envFile(String envFile)
Sets the value ofVsCodeLaunchConfigurationEntry.getEnvFile()- Parameters:
envFile- the value to be set.- Returns:
this
-
internalConsoleOptions
@Stability(Experimental) public VsCodeLaunchConfigurationEntry.Builder internalConsoleOptions(InternalConsoleOptions internalConsoleOptions)
Sets the value ofVsCodeLaunchConfigurationEntry.getInternalConsoleOptions()- Parameters:
internalConsoleOptions- the value to be set.- Returns:
this
-
outFiles
@Stability(Experimental) public VsCodeLaunchConfigurationEntry.Builder outFiles(List<String> outFiles)
Sets the value ofVsCodeLaunchConfigurationEntry.getOutFiles()- Parameters:
outFiles- the value to be set.- Returns:
this
-
port
@Stability(Experimental) public VsCodeLaunchConfigurationEntry.Builder port(Number port)
Sets the value ofVsCodeLaunchConfigurationEntry.getPort()- Parameters:
port- the value to be set.- Returns:
this
-
postDebugTask
@Stability(Experimental) public VsCodeLaunchConfigurationEntry.Builder postDebugTask(String postDebugTask)
Sets the value ofVsCodeLaunchConfigurationEntry.getPostDebugTask()- Parameters:
postDebugTask- the value to be set.- Returns:
this
-
preLaunchTask
@Stability(Experimental) public VsCodeLaunchConfigurationEntry.Builder preLaunchTask(String preLaunchTask)
Sets the value ofVsCodeLaunchConfigurationEntry.getPreLaunchTask()- Parameters:
preLaunchTask- the value to be set.- Returns:
this
-
presentation
@Stability(Experimental) public VsCodeLaunchConfigurationEntry.Builder presentation(Presentation presentation)
Sets the value ofVsCodeLaunchConfigurationEntry.getPresentation()- Parameters:
presentation- the value to be set.- Returns:
this
-
program
@Stability(Experimental) public VsCodeLaunchConfigurationEntry.Builder program(String program)
Sets the value ofVsCodeLaunchConfigurationEntry.getProgram()- Parameters:
program- the value to be set.- Returns:
this
-
runtimeArgs
@Stability(Experimental) public VsCodeLaunchConfigurationEntry.Builder runtimeArgs(List<String> runtimeArgs)
Sets the value ofVsCodeLaunchConfigurationEntry.getRuntimeArgs()- Parameters:
runtimeArgs- the value to be set.- Returns:
this
-
serverReadyAction
@Stability(Experimental) public VsCodeLaunchConfigurationEntry.Builder serverReadyAction(ServerReadyAction serverReadyAction)
Sets the value ofVsCodeLaunchConfigurationEntry.getServerReadyAction()- Parameters:
serverReadyAction- the value to be set.- Returns:
this
-
skipFiles
@Stability(Experimental) public VsCodeLaunchConfigurationEntry.Builder skipFiles(List<String> skipFiles)
Sets the value ofVsCodeLaunchConfigurationEntry.getSkipFiles()- Parameters:
skipFiles- the value to be set.- Returns:
this
-
stopOnEntry
@Stability(Experimental) public VsCodeLaunchConfigurationEntry.Builder stopOnEntry(Boolean stopOnEntry)
Sets the value ofVsCodeLaunchConfigurationEntry.getStopOnEntry()- Parameters:
stopOnEntry- the value to be set.- Returns:
this
-
url
@Stability(Experimental) public VsCodeLaunchConfigurationEntry.Builder url(String url)
Sets the value ofVsCodeLaunchConfigurationEntry.getUrl()- Parameters:
url- the value to be set.- Returns:
this
-
webRoot
@Stability(Experimental) public VsCodeLaunchConfigurationEntry.Builder webRoot(String webRoot)
Sets the value ofVsCodeLaunchConfigurationEntry.getWebRoot()- Parameters:
webRoot- the value to be set.- Returns:
this
-
build
@Stability(Experimental) public VsCodeLaunchConfigurationEntry build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<VsCodeLaunchConfigurationEntry>- Returns:
- a new instance of
VsCodeLaunchConfigurationEntry - Throws:
NullPointerException- if any required attribute was not provided
-
-