Class CdkAppDirectoryProps.Builder
java.lang.Object
software.amazon.awscdk.cli.lib.alpha.CdkAppDirectoryProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CdkAppDirectoryProps>
- Enclosing interface:
CdkAppDirectoryProps
@Stability(Experimental)
public static final class CdkAppDirectoryProps.Builder
extends Object
implements software.amazon.jsii.Builder<CdkAppDirectoryProps>
A builder for
CdkAppDirectoryProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCdkAppDirectoryProps.getApp()
build()
Builds the configured instance.Sets the value ofCdkAppDirectoryProps.getOutput()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
app
Sets the value ofCdkAppDirectoryProps.getApp()
- Parameters:
app
- Command-line for executing your app or a cloud assembly directory e.g. "node bin/my-app.js" or "cdk.out".- Returns:
this
-
output
Sets the value ofCdkAppDirectoryProps.getOutput()
- Parameters:
output
- Emits the synthesized cloud assembly into a directory.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CdkAppDirectoryProps>
- Returns:
- a new instance of
CdkAppDirectoryProps
- Throws:
NullPointerException
- if any required attribute was not provided
-