Class YarnSupportedArchitectures.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.javascript.YarnSupportedArchitectures.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<YarnSupportedArchitectures>
- Enclosing interface:
- YarnSupportedArchitectures
@Stability(Experimental) public static final class YarnSupportedArchitectures.Builder extends Object implements software.amazon.jsii.Builder<YarnSupportedArchitectures>
A builder forYarnSupportedArchitectures
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description YarnSupportedArchitecturesbuild()Builds the configured instance.YarnSupportedArchitectures.Buildercpu(List<String> cpu)Sets the value ofYarnSupportedArchitectures.getCpu()YarnSupportedArchitectures.Builderlibc(List<String> libc)Sets the value ofYarnSupportedArchitectures.getLibc()YarnSupportedArchitectures.Builderos(List<String> os)Sets the value ofYarnSupportedArchitectures.getOs()
-
-
-
Method Detail
-
cpu
@Stability(Experimental) public YarnSupportedArchitectures.Builder cpu(List<String> cpu)
Sets the value ofYarnSupportedArchitectures.getCpu()- Parameters:
cpu- the value to be set.- Returns:
this
-
libc
@Stability(Experimental) public YarnSupportedArchitectures.Builder libc(List<String> libc)
Sets the value ofYarnSupportedArchitectures.getLibc()- Parameters:
libc- the value to be set.- Returns:
this
-
os
@Stability(Experimental) public YarnSupportedArchitectures.Builder os(List<String> os)
Sets the value ofYarnSupportedArchitectures.getOs()- Parameters:
os- the value to be set.- Returns:
this
-
build
@Stability(Experimental) public YarnSupportedArchitectures build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<YarnSupportedArchitectures>- Returns:
- a new instance of
YarnSupportedArchitectures - Throws:
NullPointerException- if any required attribute was not provided
-
-