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