public static interface CodeGenNode.Builder extends SdkPojo, CopyableBuilder<CodeGenNode.Builder,CodeGenNode>
Modifier and Type | Method and Description |
---|---|
CodeGenNode.Builder |
args(CodeGenNodeArg... args)
Properties of the node, in the form of name-value pairs.
|
CodeGenNode.Builder |
args(Collection<CodeGenNodeArg> args)
Properties of the node, in the form of name-value pairs.
|
CodeGenNode.Builder |
args(Consumer<CodeGenNodeArg.Builder>... args)
Properties of the node, in the form of name-value pairs.
|
CodeGenNode.Builder |
id(String id)
A node identifier that is unique within the node's graph.
|
CodeGenNode.Builder |
lineNumber(Integer lineNumber)
The line number of the node.
|
CodeGenNode.Builder |
nodeType(String nodeType)
The type of node that this is.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
CodeGenNode.Builder id(String id)
A node identifier that is unique within the node's graph.
id
- A node identifier that is unique within the node's graph.CodeGenNode.Builder nodeType(String nodeType)
The type of node that this is.
nodeType
- The type of node that this is.CodeGenNode.Builder args(Collection<CodeGenNodeArg> args)
Properties of the node, in the form of name-value pairs.
args
- Properties of the node, in the form of name-value pairs.CodeGenNode.Builder args(CodeGenNodeArg... args)
Properties of the node, in the form of name-value pairs.
args
- Properties of the node, in the form of name-value pairs.CodeGenNode.Builder args(Consumer<CodeGenNodeArg.Builder>... args)
Properties of the node, in the form of name-value pairs.
This is a convenience method that creates an instance of theCodeGenNodeArg.Builder
avoiding the need to create one
manually via CodeGenNodeArg.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called immediately and
its result is passed to #args(List
.
args
- a consumer that will call methods on
CodeGenNodeArg.Builder
#args(java.util.Collection)
CodeGenNode.Builder lineNumber(Integer lineNumber)
The line number of the node.
lineNumber
- The line number of the node.Copyright © 2022. All rights reserved.