Package org.cdk8s.plus24.k8s
Class NodeConfigSource.Builder
- java.lang.Object
-
- org.cdk8s.plus24.k8s.NodeConfigSource.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<NodeConfigSource>
- Enclosing interface:
- NodeConfigSource
@Stability(Stable) public static final class NodeConfigSource.Builder extends Object implements software.amazon.jsii.Builder<NodeConfigSource>
A builder forNodeConfigSource
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeConfigSource
build()
Builds the configured instance.NodeConfigSource.Builder
configMap(ConfigMapNodeConfigSource configMap)
Sets the value ofNodeConfigSource.getConfigMap()
-
-
-
Method Detail
-
configMap
@Stability(Stable) public NodeConfigSource.Builder configMap(ConfigMapNodeConfigSource configMap)
Sets the value ofNodeConfigSource.getConfigMap()
- Parameters:
configMap
- ConfigMap is a reference to a Node's ConfigMap.- Returns:
this
-
build
@Stability(Stable) public NodeConfigSource build()
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<NodeConfigSource>
- Returns:
- a new instance of
NodeConfigSource
- Throws:
NullPointerException
- if any required attribute was not provided
-
-