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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CodeGenNode.Builderargs(Collection<CodeGenNodeArg> args)Properties of the node, in the form of name-value pairs.CodeGenNode.Builderargs(Consumer<CodeGenNodeArg.Builder>... args)Properties of the node, in the form of name-value pairs.CodeGenNode.Builderargs(CodeGenNodeArg... args)Properties of the node, in the form of name-value pairs.CodeGenNode.Builderid(String id)A node identifier that is unique within the node's graph.CodeGenNode.BuilderlineNumber(Integer lineNumber)The line number of the node.CodeGenNode.BuildernodeType(String nodeType)The type of node that this is.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
id
CodeGenNode.Builder id(String 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
CodeGenNode.Builder nodeType(String 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
CodeGenNode.Builder args(Collection<CodeGenNodeArg> 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
CodeGenNode.Builder args(CodeGenNodeArg... 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
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.Builderavoiding the need to create one manually viaCodeGenNodeArg.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#args(List.) - 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:
#args(java.util.Collection)
-
lineNumber
CodeGenNode.Builder lineNumber(Integer 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.
-
-