Class YarnPeerDependencyMeta.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.javascript.YarnPeerDependencyMeta.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<YarnPeerDependencyMeta>
- Enclosing interface:
- YarnPeerDependencyMeta
@Stability(Experimental) public static final class YarnPeerDependencyMeta.Builder extends Object implements software.amazon.jsii.Builder<YarnPeerDependencyMeta>
A builder forYarnPeerDependencyMeta
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description YarnPeerDependencyMetabuild()Builds the configured instance.YarnPeerDependencyMeta.Builderoptional(Boolean optional)Sets the value ofYarnPeerDependencyMeta.getOptional()
-
-
-
Method Detail
-
optional
@Stability(Experimental) public YarnPeerDependencyMeta.Builder optional(Boolean optional)
Sets the value ofYarnPeerDependencyMeta.getOptional()- Parameters:
optional- the value to be set.- Returns:
this
-
build
@Stability(Experimental) public YarnPeerDependencyMeta build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<YarnPeerDependencyMeta>- Returns:
- a new instance of
YarnPeerDependencyMeta - Throws:
NullPointerException- if any required attribute was not provided
-
-