@Generated(value="software.amazon.awssdk:codegen") public final class CodeGenNode extends Object implements StructuredPojo, ToCopyableBuilder<CodeGenNode.Builder,CodeGenNode>
Represents a node in a directed acyclic graph (DAG)
Modifier and Type | Class and Description |
---|---|
static interface |
CodeGenNode.Builder |
Modifier and Type | Method and Description |
---|---|
List<CodeGenNodeArg> |
args()
Properties of the node, in the form of name-value pairs.
|
static CodeGenNode.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
A node identifier that is unique within the node's graph.
|
Integer |
lineNumber()
The line number of the node.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
nodeType()
The type of node this is.
|
static Class<? extends CodeGenNode.Builder> |
serializableBuilderClass() |
CodeGenNode.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String id()
A node identifier that is unique within the node's graph.
public String nodeType()
The type of node this is.
public List<CodeGenNodeArg> args()
Properties of the node, in the form of name-value pairs.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Integer lineNumber()
The line number of the node.
public CodeGenNode.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CodeGenNode.Builder,CodeGenNode>
public static CodeGenNode.Builder builder()
public static Class<? extends CodeGenNode.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.