@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FlowNode extends Object implements Serializable, Cloneable, StructuredPojo
Contains configurations about a node in the flow.
Constructor and Description |
---|
FlowNode() |
Modifier and Type | Method and Description |
---|---|
FlowNode |
clone() |
boolean |
equals(Object obj) |
FlowNodeConfiguration |
getConfiguration()
Contains configurations for the node.
|
List<FlowNodeInput> |
getInputs()
An array of objects, each of which contains information about an input into the node.
|
String |
getName()
A name for the node.
|
List<FlowNodeOutput> |
getOutputs()
A list of objects, each of which contains information about an output from the node.
|
String |
getType()
The type of node.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConfiguration(FlowNodeConfiguration configuration)
Contains configurations for the node.
|
void |
setInputs(Collection<FlowNodeInput> inputs)
An array of objects, each of which contains information about an input into the node.
|
void |
setName(String name)
A name for the node.
|
void |
setOutputs(Collection<FlowNodeOutput> outputs)
A list of objects, each of which contains information about an output from the node.
|
void |
setType(String type)
The type of node.
|
String |
toString()
Returns a string representation of this object.
|
FlowNode |
withConfiguration(FlowNodeConfiguration configuration)
Contains configurations for the node.
|
FlowNode |
withInputs(Collection<FlowNodeInput> inputs)
An array of objects, each of which contains information about an input into the node.
|
FlowNode |
withInputs(FlowNodeInput... inputs)
An array of objects, each of which contains information about an input into the node.
|
FlowNode |
withName(String name)
A name for the node.
|
FlowNode |
withOutputs(Collection<FlowNodeOutput> outputs)
A list of objects, each of which contains information about an output from the node.
|
FlowNode |
withOutputs(FlowNodeOutput... outputs)
A list of objects, each of which contains information about an output from the node.
|
FlowNode |
withType(FlowNodeType type)
The type of node.
|
FlowNode |
withType(String type)
The type of node.
|
public void setConfiguration(FlowNodeConfiguration configuration)
Contains configurations for the node.
configuration
- Contains configurations for the node.public FlowNodeConfiguration getConfiguration()
Contains configurations for the node.
public FlowNode withConfiguration(FlowNodeConfiguration configuration)
Contains configurations for the node.
configuration
- Contains configurations for the node.public List<FlowNodeInput> getInputs()
An array of objects, each of which contains information about an input into the node.
public void setInputs(Collection<FlowNodeInput> inputs)
An array of objects, each of which contains information about an input into the node.
inputs
- An array of objects, each of which contains information about an input into the node.public FlowNode withInputs(FlowNodeInput... inputs)
An array of objects, each of which contains information about an input into the node.
NOTE: This method appends the values to the existing list (if any). Use
setInputs(java.util.Collection)
or withInputs(java.util.Collection)
if you want to override the
existing values.
inputs
- An array of objects, each of which contains information about an input into the node.public FlowNode withInputs(Collection<FlowNodeInput> inputs)
An array of objects, each of which contains information about an input into the node.
inputs
- An array of objects, each of which contains information about an input into the node.public void setName(String name)
A name for the node.
name
- A name for the node.public String getName()
A name for the node.
public FlowNode withName(String name)
A name for the node.
name
- A name for the node.public List<FlowNodeOutput> getOutputs()
A list of objects, each of which contains information about an output from the node.
public void setOutputs(Collection<FlowNodeOutput> outputs)
A list of objects, each of which contains information about an output from the node.
outputs
- A list of objects, each of which contains information about an output from the node.public FlowNode withOutputs(FlowNodeOutput... outputs)
A list of objects, each of which contains information about an output from the node.
NOTE: This method appends the values to the existing list (if any). Use
setOutputs(java.util.Collection)
or withOutputs(java.util.Collection)
if you want to override
the existing values.
outputs
- A list of objects, each of which contains information about an output from the node.public FlowNode withOutputs(Collection<FlowNodeOutput> outputs)
A list of objects, each of which contains information about an output from the node.
outputs
- A list of objects, each of which contains information about an output from the node.public void setType(String type)
The type of node. This value must match the name of the key that you provide in the configuration you provide in
the FlowNodeConfiguration
field.
type
- The type of node. This value must match the name of the key that you provide in the configuration you
provide in the FlowNodeConfiguration
field.FlowNodeType
public String getType()
The type of node. This value must match the name of the key that you provide in the configuration you provide in
the FlowNodeConfiguration
field.
FlowNodeConfiguration
field.FlowNodeType
public FlowNode withType(String type)
The type of node. This value must match the name of the key that you provide in the configuration you provide in
the FlowNodeConfiguration
field.
type
- The type of node. This value must match the name of the key that you provide in the configuration you
provide in the FlowNodeConfiguration
field.FlowNodeType
public FlowNode withType(FlowNodeType type)
The type of node. This value must match the name of the key that you provide in the configuration you provide in
the FlowNodeConfiguration
field.
type
- The type of node. This value must match the name of the key that you provide in the configuration you
provide in the FlowNodeConfiguration
field.FlowNodeType
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.