@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FlowDefinition extends Object implements Serializable, Cloneable, StructuredPojo
The definition of the nodes and connections between nodes in the flow.
Constructor and Description |
---|
FlowDefinition() |
Modifier and Type | Method and Description |
---|---|
FlowDefinition |
clone() |
boolean |
equals(Object obj) |
List<FlowConnection> |
getConnections()
An array of connection definitions in the flow.
|
List<FlowNode> |
getNodes()
An array of node definitions in the flow.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConnections(Collection<FlowConnection> connections)
An array of connection definitions in the flow.
|
void |
setNodes(Collection<FlowNode> nodes)
An array of node definitions in the flow.
|
String |
toString()
Returns a string representation of this object.
|
FlowDefinition |
withConnections(Collection<FlowConnection> connections)
An array of connection definitions in the flow.
|
FlowDefinition |
withConnections(FlowConnection... connections)
An array of connection definitions in the flow.
|
FlowDefinition |
withNodes(Collection<FlowNode> nodes)
An array of node definitions in the flow.
|
FlowDefinition |
withNodes(FlowNode... nodes)
An array of node definitions in the flow.
|
public List<FlowConnection> getConnections()
An array of connection definitions in the flow.
public void setConnections(Collection<FlowConnection> connections)
An array of connection definitions in the flow.
connections
- An array of connection definitions in the flow.public FlowDefinition withConnections(FlowConnection... connections)
An array of connection definitions in the flow.
NOTE: This method appends the values to the existing list (if any). Use
setConnections(java.util.Collection)
or withConnections(java.util.Collection)
if you want to
override the existing values.
connections
- An array of connection definitions in the flow.public FlowDefinition withConnections(Collection<FlowConnection> connections)
An array of connection definitions in the flow.
connections
- An array of connection definitions in the flow.public List<FlowNode> getNodes()
An array of node definitions in the flow.
public void setNodes(Collection<FlowNode> nodes)
An array of node definitions in the flow.
nodes
- An array of node definitions in the flow.public FlowDefinition withNodes(FlowNode... nodes)
An array of node definitions in the flow.
NOTE: This method appends the values to the existing list (if any). Use
setNodes(java.util.Collection)
or withNodes(java.util.Collection)
if you want to override the
existing values.
nodes
- An array of node definitions in the flow.public FlowDefinition withNodes(Collection<FlowNode> nodes)
An array of node definitions in the flow.
nodes
- An array of node definitions in the flow.public String toString()
toString
in class Object
Object.toString()
public FlowDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.