Class ProjectConfig.Builder
- java.lang.Object
-
- software.aws.awsprototypingsdk.nxmonorepo.nx.ProjectConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ProjectConfig>
- Enclosing interface:
- ProjectConfig
@Stability(Stable) public static final class ProjectConfig.Builder extends Object implements software.amazon.jsii.Builder<ProjectConfig>
A builder forProjectConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectConfigbuild()Builds the configured instance.ProjectConfig.BuilderimplicitDependencies(List<String> implicitDependencies)Sets the value ofProjectConfig.getImplicitDependencies()ProjectConfig.BuilderincludedScripts(List<String> includedScripts)Sets the value ofProjectConfig.getIncludedScripts()ProjectConfig.BuildernamedInputs(NamedInputs namedInputs)Sets the value ofProjectConfig.getNamedInputs()ProjectConfig.Buildertags(List<String> tags)Sets the value ofProjectConfig.getTags()ProjectConfig.Buildertargets(Map<String,? extends ProjectTarget> targets)Sets the value ofProjectConfig.getTargets()
-
-
-
Method Detail
-
implicitDependencies
@Stability(Stable) public ProjectConfig.Builder implicitDependencies(List<String> implicitDependencies)
Sets the value ofProjectConfig.getImplicitDependencies()- Parameters:
implicitDependencies- Implicit dependencies.- Returns:
this
-
includedScripts
@Stability(Stable) public ProjectConfig.Builder includedScripts(List<String> includedScripts)
Sets the value ofProjectConfig.getIncludedScripts()- Parameters:
includedScripts- Explicit list of scripts for Nx to include.- Returns:
this
-
namedInputs
@Stability(Stable) public ProjectConfig.Builder namedInputs(NamedInputs namedInputs)
Sets the value ofProjectConfig.getNamedInputs()- Parameters:
namedInputs- Named inputs.- Returns:
this
-
tags
@Stability(Stable) public ProjectConfig.Builder tags(List<String> tags)
Sets the value ofProjectConfig.getTags()- Parameters:
tags- Project tag annotations.- Returns:
this
-
targets
@Stability(Stable) public ProjectConfig.Builder targets(Map<String,? extends ProjectTarget> targets)
Sets the value ofProjectConfig.getTargets()- Parameters:
targets- Targets configuration.- Returns:
this
-
build
@Stability(Stable) public ProjectConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ProjectConfig>- Returns:
- a new instance of
ProjectConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-