Class YarnNpmScope.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.javascript.YarnNpmScope.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<YarnNpmScope>
- Enclosing interface:
- YarnNpmScope
@Stability(Experimental) public static final class YarnNpmScope.Builder extends Object implements software.amazon.jsii.Builder<YarnNpmScope>
A builder forYarnNpmScope
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description YarnNpmScopebuild()Builds the configured instance.YarnNpmScope.BuildernpmAlwaysAuth(Boolean npmAlwaysAuth)Sets the value ofYarnNpmScope.getNpmAlwaysAuth()YarnNpmScope.BuildernpmAuthIdent(String npmAuthIdent)Sets the value ofYarnNpmScope.getNpmAuthIdent()YarnNpmScope.BuildernpmAuthToken(String npmAuthToken)Sets the value ofYarnNpmScope.getNpmAuthToken()YarnNpmScope.BuildernpmPublishRegistry(String npmPublishRegistry)Sets the value ofYarnNpmScope.getNpmPublishRegistry()YarnNpmScope.BuildernpmRegistryServer(String npmRegistryServer)Sets the value ofYarnNpmScope.getNpmRegistryServer()
-
-
-
Method Detail
-
npmAlwaysAuth
@Stability(Experimental) public YarnNpmScope.Builder npmAlwaysAuth(Boolean npmAlwaysAuth)
Sets the value ofYarnNpmScope.getNpmAlwaysAuth()- Parameters:
npmAlwaysAuth- the value to be set.- Returns:
this
-
npmAuthIdent
@Stability(Experimental) public YarnNpmScope.Builder npmAuthIdent(String npmAuthIdent)
Sets the value ofYarnNpmScope.getNpmAuthIdent()- Parameters:
npmAuthIdent- the value to be set.- Returns:
this
-
npmAuthToken
@Stability(Experimental) public YarnNpmScope.Builder npmAuthToken(String npmAuthToken)
Sets the value ofYarnNpmScope.getNpmAuthToken()- Parameters:
npmAuthToken- the value to be set.- Returns:
this
-
npmPublishRegistry
@Stability(Experimental) public YarnNpmScope.Builder npmPublishRegistry(String npmPublishRegistry)
Sets the value ofYarnNpmScope.getNpmPublishRegistry()- Parameters:
npmPublishRegistry- the value to be set.- Returns:
this
-
npmRegistryServer
@Stability(Experimental) public YarnNpmScope.Builder npmRegistryServer(String npmRegistryServer)
Sets the value ofYarnNpmScope.getNpmRegistryServer()- Parameters:
npmRegistryServer- the value to be set.- Returns:
this
-
build
@Stability(Experimental) public YarnNpmScope build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<YarnNpmScope>- Returns:
- a new instance of
YarnNpmScope - Throws:
NullPointerException- if any required attribute was not provided
-
-