Package software.constructs
Class ConstructOptions.Builder
- java.lang.Object
-
- software.constructs.ConstructOptions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ConstructOptions>
- Enclosing interface:
- ConstructOptions
@Stability(Stable) public static final class ConstructOptions.Builder extends Object implements software.amazon.jsii.Builder<ConstructOptions>
A builder forConstructOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConstructOptionsbuild()Builds the configured instance.ConstructOptions.BuildernodeFactory(INodeFactory nodeFactory)Sets the value ofConstructOptions.getNodeFactory()
-
-
-
Method Detail
-
nodeFactory
@Stability(Stable) public ConstructOptions.Builder nodeFactory(INodeFactory nodeFactory)
Sets the value ofConstructOptions.getNodeFactory()- Parameters:
nodeFactory- A factory for attaching `Node`s to the construct.- Returns:
this
-
build
@Stability(Stable) public ConstructOptions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ConstructOptions>- Returns:
- a new instance of
ConstructOptions - Throws:
NullPointerException- if any required attribute was not provided
-
-