Package software.amazon.awscdk.cxapi
Class CloudAssembly.Builder
java.lang.Object
software.amazon.awscdk.cxapi.CloudAssembly.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CloudAssembly>
- Enclosing class:
CloudAssembly
@Stability(Stable)
public static final class CloudAssembly.Builder
extends Object
implements software.amazon.jsii.Builder<CloudAssembly>
A fluent builder for
CloudAssembly
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CloudAssembly.Builder
skipEnumCheck
(Boolean skipEnumCheck) Skip enum checks.skipVersionCheck
(Boolean skipVersionCheck) Skip the version check.Topologically sort all artifacts.
-
Method Details
-
create
- Parameters:
directory
- The root directory of the assembly. This parameter is required.- Returns:
- a new instance of
CloudAssembly.Builder
.
-
skipEnumCheck
Skip enum checks.This means you may read enum values you don't know about yet. Make sure to always check the values of enums you encounter in the manifest.
Default: false
- Parameters:
skipEnumCheck
- Skip enum checks. This parameter is required.- Returns:
this
-
skipVersionCheck
Skip the version check.This means you may read a newer cloud assembly than the CX API is designed to support, and your application may not be aware of all features that in use in the Cloud Assembly.
Default: false
- Parameters:
skipVersionCheck
- Skip the version check. This parameter is required.- Returns:
this
-
topoSort
Topologically sort all artifacts.This parameter is only respected by the constructor of
CloudAssembly
. The property lives here for backwards compatibility reasons.Default: true
- Parameters:
topoSort
- Topologically sort all artifacts. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CloudAssembly>
- Returns:
- a newly built instance of
CloudAssembly
.
-