@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FlowConnection extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a connection between two nodes in the flow.
Constructor and Description |
---|
FlowConnection() |
Modifier and Type | Method and Description |
---|---|
FlowConnection |
clone() |
boolean |
equals(Object obj) |
FlowConnectionConfiguration |
getConfiguration()
The configuration of the connection.
|
String |
getName()
A name for the connection that you can reference.
|
String |
getSource()
The node that the connection starts at.
|
String |
getTarget()
The node that the connection ends at.
|
String |
getType()
Whether the source node that the connection begins from is a condition node (
Conditional ) or not (
Data ). |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConfiguration(FlowConnectionConfiguration configuration)
The configuration of the connection.
|
void |
setName(String name)
A name for the connection that you can reference.
|
void |
setSource(String source)
The node that the connection starts at.
|
void |
setTarget(String target)
The node that the connection ends at.
|
void |
setType(String type)
Whether the source node that the connection begins from is a condition node (
Conditional ) or not (
Data ). |
String |
toString()
Returns a string representation of this object.
|
FlowConnection |
withConfiguration(FlowConnectionConfiguration configuration)
The configuration of the connection.
|
FlowConnection |
withName(String name)
A name for the connection that you can reference.
|
FlowConnection |
withSource(String source)
The node that the connection starts at.
|
FlowConnection |
withTarget(String target)
The node that the connection ends at.
|
FlowConnection |
withType(FlowConnectionType type)
Whether the source node that the connection begins from is a condition node (
Conditional ) or not (
Data ). |
FlowConnection |
withType(String type)
Whether the source node that the connection begins from is a condition node (
Conditional ) or not (
Data ). |
public void setConfiguration(FlowConnectionConfiguration configuration)
The configuration of the connection.
configuration
- The configuration of the connection.public FlowConnectionConfiguration getConfiguration()
The configuration of the connection.
public FlowConnection withConfiguration(FlowConnectionConfiguration configuration)
The configuration of the connection.
configuration
- The configuration of the connection.public void setName(String name)
A name for the connection that you can reference.
name
- A name for the connection that you can reference.public String getName()
A name for the connection that you can reference.
public FlowConnection withName(String name)
A name for the connection that you can reference.
name
- A name for the connection that you can reference.public void setSource(String source)
The node that the connection starts at.
source
- The node that the connection starts at.public String getSource()
The node that the connection starts at.
public FlowConnection withSource(String source)
The node that the connection starts at.
source
- The node that the connection starts at.public void setTarget(String target)
The node that the connection ends at.
target
- The node that the connection ends at.public String getTarget()
The node that the connection ends at.
public FlowConnection withTarget(String target)
The node that the connection ends at.
target
- The node that the connection ends at.public void setType(String type)
Whether the source node that the connection begins from is a condition node (Conditional
) or not (
Data
).
type
- Whether the source node that the connection begins from is a condition node (Conditional
) or
not (Data
).FlowConnectionType
public String getType()
Whether the source node that the connection begins from is a condition node (Conditional
) or not (
Data
).
Conditional
) or
not (Data
).FlowConnectionType
public FlowConnection withType(String type)
Whether the source node that the connection begins from is a condition node (Conditional
) or not (
Data
).
type
- Whether the source node that the connection begins from is a condition node (Conditional
) or
not (Data
).FlowConnectionType
public FlowConnection withType(FlowConnectionType type)
Whether the source node that the connection begins from is a condition node (Conditional
) or not (
Data
).
type
- Whether the source node that the connection begins from is a condition node (Conditional
) or
not (Data
).FlowConnectionType
public String toString()
toString
in class Object
Object.toString()
public FlowConnection clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.