Interface CodeGenNode.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CodeGenNode.Builder,,CodeGenNode> SdkBuilder<CodeGenNode.Builder,,CodeGenNode> SdkPojo
- Enclosing class:
CodeGenNode
public static interface CodeGenNode.Builder
extends SdkPojo, CopyableBuilder<CodeGenNode.Builder,CodeGenNode>
-
Method Summary
Modifier and TypeMethodDescriptionargs(Collection<CodeGenNodeArg> args) Properties of the node, in the form of name-value pairs.args(Consumer<CodeGenNodeArg.Builder>... args) Properties of the node, in the form of name-value pairs.args(CodeGenNodeArg... args) Properties of the node, in the form of name-value pairs.A node identifier that is unique within the node's graph.lineNumber(Integer lineNumber) The line number of the node.The type of node that this is.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
id
A node identifier that is unique within the node's graph.
- Parameters:
id- A node identifier that is unique within the node's graph.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeType
The type of node that this is.
- Parameters:
nodeType- The type of node that this is.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
args
Properties of the node, in the form of name-value pairs.
- Parameters:
args- Properties of the node, in the form of name-value pairs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
args
Properties of the node, in the form of name-value pairs.
- Parameters:
args- Properties of the node, in the form of name-value pairs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
args
Properties of the node, in the form of name-value pairs.
This is a convenience method that creates an instance of theCodeGenNodeArg.Builderavoiding the need to create one manually viaCodeGenNodeArg.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toargs(List<CodeGenNodeArg>).- Parameters:
args- a consumer that will call methods onCodeGenNodeArg.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lineNumber
The line number of the node.
- Parameters:
lineNumber- The line number of the node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-