Class NXConfig.Builder
- java.lang.Object
-
- software.aws.awsprototypingsdk.nxmonorepo.NXConfig.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NXConfig.BuilderaffectedBranch(String affectedBranch)Sets the value ofNXConfig.getAffectedBranch()NXConfigbuild()Builds the configured instance.NXConfig.BuilderimplicitDependencies(Map<String,? extends List<String>> implicitDependencies)Sets the value ofNXConfig.getImplicitDependencies()NXConfig.BuildernxCloudReadOnlyAccessToken(String nxCloudReadOnlyAccessToken)Sets the value ofNXConfig.getNxCloudReadOnlyAccessToken()NXConfig.BuildernxIgnore(List<String> nxIgnore)Sets the value ofNXConfig.getNxIgnore()NXConfig.BuildertargetDependencies(Map<String,? extends List<? extends TargetDependency>> targetDependencies)Sets the value ofNXConfig.getTargetDependencies()
-
-
-
Method Detail
-
affectedBranch
@Stability(Stable) public NXConfig.Builder affectedBranch(String affectedBranch)
Sets the value ofNXConfig.getAffectedBranch()- Parameters:
affectedBranch- Affected branch.- Returns:
this
-
implicitDependencies
@Stability(Stable) public NXConfig.Builder implicitDependencies(Map<String,? extends List<String>> implicitDependencies)
Sets the value ofNXConfig.getImplicitDependencies()- Parameters:
implicitDependencies- Configuration for Implicit Dependnecies.- Returns:
this
-
nxCloudReadOnlyAccessToken
@Stability(Stable) public NXConfig.Builder nxCloudReadOnlyAccessToken(String nxCloudReadOnlyAccessToken)
Sets the value ofNXConfig.getNxCloudReadOnlyAccessToken()- Parameters:
nxCloudReadOnlyAccessToken- Read only access token if enabling nx cloud.- Returns:
this
-
nxIgnore
@Stability(Stable) public NXConfig.Builder nxIgnore(List<String> nxIgnore)
Sets the value ofNXConfig.getNxIgnore()- Parameters:
nxIgnore- List of patterns to include in the .nxignore file.- Returns:
this
-
targetDependencies
@Stability(Stable) public NXConfig.Builder targetDependencies(Map<String,? extends List<? extends TargetDependency>> targetDependencies)
Sets the value ofNXConfig.getTargetDependencies()- Parameters:
targetDependencies- Configuration for TargetDependencies.- Returns:
this
-
build
@Stability(Stable) public NXConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NXConfig>- Returns:
- a new instance of
NXConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-