public static interface CodeGenNode.Builder extends 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 this is.
|
copyapply, buildCodeGenNode.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 this is.
nodeType - The type of node 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 that creates an instance of theList.Builder avoiding the need
to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #args(List) .args - a consumer that will call methods on List.Builder #args(List) CodeGenNode.Builder lineNumber(Integer lineNumber)
The line number of the node.
lineNumber - The line number of the node.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.