Package software.amazon.awscdk.cxapi
Class CloudAssemblyBuilder.Builder
java.lang.Object
software.amazon.awscdk.cxapi.CloudAssemblyBuilder.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CloudAssemblyBuilder>
- Enclosing class:
CloudAssemblyBuilder
@Stability(Stable)
public static final class CloudAssemblyBuilder.Builder
extends Object
implements software.amazon.jsii.Builder<CloudAssemblyBuilder>
A fluent builder for
CloudAssemblyBuilder
.-
Method Summary
Modifier and TypeMethodDescriptionassetOutdir
(String assetOutdir) Use the given asset output directory.build()
static CloudAssemblyBuilder.Builder
create()
static CloudAssemblyBuilder.Builder
parentBuilder
(CloudAssemblyBuilder parentBuilder) If this builder is for a nested assembly, the parent assembly builder.
-
Method Details
-
create
- Parameters:
outdir
- The output directory, uses temporary directory if undefined.- Returns:
- a new instance of
CloudAssemblyBuilder.Builder
.
-
create
- Returns:
- a new instance of
CloudAssemblyBuilder.Builder
.
-
assetOutdir
Use the given asset output directory.Default: - Same as the manifest outdir
- Parameters:
assetOutdir
- Use the given asset output directory. This parameter is required.- Returns:
this
-
parentBuilder
@Stability(Stable) public CloudAssemblyBuilder.Builder parentBuilder(CloudAssemblyBuilder parentBuilder) If this builder is for a nested assembly, the parent assembly builder.Default: - This is a root assembly
- Parameters:
parentBuilder
- If this builder is for a nested assembly, the parent assembly builder. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CloudAssemblyBuilder>
- Returns:
- a newly built instance of
CloudAssemblyBuilder
.
-