Package io.github.cdklabs.projen.awscdk
Class AwsCdkPackageNames.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.awscdk.AwsCdkPackageNames.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AwsCdkPackageNames>
- Enclosing interface:
- AwsCdkPackageNames
@Stability(Experimental) public static final class AwsCdkPackageNames.Builder extends Object implements software.amazon.jsii.Builder<AwsCdkPackageNames>
A builder forAwsCdkPackageNames
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AwsCdkPackageNames.Builderassertions(String assertions)Sets the value ofAwsCdkPackageNames.getAssertions()AwsCdkPackageNames.BuilderassertValue(String assertValue)Sets the value ofAwsCdkPackageNames.getAssertValue()AwsCdkPackageNamesbuild()Builds the configured instance.AwsCdkPackageNames.Builderconstructs(String constructs)Sets the value ofAwsCdkPackageNames.getConstructs()AwsCdkPackageNames.BuildercoreV1(String coreV1)Sets the value ofAwsCdkPackageNames.getCoreV1()AwsCdkPackageNames.BuildercoreV2(String coreV2)Sets the value ofAwsCdkPackageNames.getCoreV2()
-
-
-
Method Detail
-
assertions
@Stability(Experimental) public AwsCdkPackageNames.Builder assertions(String assertions)
Sets the value ofAwsCdkPackageNames.getAssertions()- Parameters:
assertions- Fully qualified name of the assertions library package. This parameter is required.- Returns:
this
-
constructs
@Stability(Experimental) public AwsCdkPackageNames.Builder constructs(String constructs)
Sets the value ofAwsCdkPackageNames.getConstructs()- Parameters:
constructs- Fully qualified name of the constructs library package. This parameter is required.- Returns:
this
-
coreV1
@Stability(Experimental) public AwsCdkPackageNames.Builder coreV1(String coreV1)
Sets the value ofAwsCdkPackageNames.getCoreV1()- Parameters:
coreV1- Fully qualified name of the core framework package for CDKv1. This parameter is required.- Returns:
this
-
coreV2
@Stability(Experimental) public AwsCdkPackageNames.Builder coreV2(String coreV2)
Sets the value ofAwsCdkPackageNames.getCoreV2()- Parameters:
coreV2- Fully qualified name of the core framework package for CDKv2. This parameter is required.- Returns:
this
-
assertValue
@Stability(Experimental) public AwsCdkPackageNames.Builder assertValue(String assertValue)
Sets the value ofAwsCdkPackageNames.getAssertValue()- Parameters:
assertValue- Fully qualified name of the assert library package Can be empty as it's only really available for javascript projects.- Returns:
this
-
build
@Stability(Experimental) public AwsCdkPackageNames build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AwsCdkPackageNames>- Returns:
- a new instance of
AwsCdkPackageNames - Throws:
NullPointerException- if any required attribute was not provided
-
-