@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CodeGenNode extends Object implements Serializable, Cloneable, StructuredPojo
Represents a node in a directed acyclic graph (DAG)
Constructor and Description |
---|
CodeGenNode() |
Modifier and Type | Method and Description |
---|---|
CodeGenNode |
clone() |
boolean |
equals(Object obj) |
List<CodeGenNodeArg> |
getArgs()
Properties of the node, in the form of name-value pairs.
|
String |
getId()
A node identifier that is unique within the node's graph.
|
Integer |
getLineNumber()
The line number of the node.
|
String |
getNodeType()
The type of node that this is.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArgs(Collection<CodeGenNodeArg> args)
Properties of the node, in the form of name-value pairs.
|
void |
setId(String id)
A node identifier that is unique within the node's graph.
|
void |
setLineNumber(Integer lineNumber)
The line number of the node.
|
void |
setNodeType(String nodeType)
The type of node that this is.
|
String |
toString()
Returns a string representation of this object.
|
CodeGenNode |
withArgs(CodeGenNodeArg... args)
Properties of the node, in the form of name-value pairs.
|
CodeGenNode |
withArgs(Collection<CodeGenNodeArg> args)
Properties of the node, in the form of name-value pairs.
|
CodeGenNode |
withId(String id)
A node identifier that is unique within the node's graph.
|
CodeGenNode |
withLineNumber(Integer lineNumber)
The line number of the node.
|
CodeGenNode |
withNodeType(String nodeType)
The type of node that this is.
|
public void setId(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.public String getId()
A node identifier that is unique within the node's graph.
public CodeGenNode withId(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.public void setNodeType(String nodeType)
The type of node that this is.
nodeType
- The type of node that this is.public String getNodeType()
The type of node that this is.
public CodeGenNode withNodeType(String nodeType)
The type of node that this is.
nodeType
- The type of node that this is.public List<CodeGenNodeArg> getArgs()
Properties of the node, in the form of name-value pairs.
public void setArgs(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.public CodeGenNode withArgs(CodeGenNodeArg... args)
Properties of the node, in the form of name-value pairs.
NOTE: This method appends the values to the existing list (if any). Use
setArgs(java.util.Collection)
or withArgs(java.util.Collection)
if you want to override the
existing values.
args
- Properties of the node, in the form of name-value pairs.public CodeGenNode withArgs(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.public void setLineNumber(Integer lineNumber)
The line number of the node.
lineNumber
- The line number of the node.public Integer getLineNumber()
The line number of the node.
public CodeGenNode withLineNumber(Integer lineNumber)
The line number of the node.
lineNumber
- The line number of the node.public String toString()
toString
in class Object
Object.toString()
public CodeGenNode clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.