@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FlowCondition extends Object implements Serializable, Cloneable, StructuredPojo
Defines a condition in the condition node.
Constructor and Description |
---|
FlowCondition() |
Modifier and Type | Method and Description |
---|---|
FlowCondition |
clone() |
boolean |
equals(Object obj) |
String |
getExpression()
Defines the condition.
|
String |
getName()
A name for the condition that you can reference.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setExpression(String expression)
Defines the condition.
|
void |
setName(String name)
A name for the condition that you can reference.
|
String |
toString()
Returns a string representation of this object.
|
FlowCondition |
withExpression(String expression)
Defines the condition.
|
FlowCondition |
withName(String name)
A name for the condition that you can reference.
|
public void setExpression(String expression)
Defines the condition. You must refer to at least one of the inputs in the condition. For more information, expand the Condition node section in Node types in prompt flows.
expression
- Defines the condition. You must refer to at least one of the inputs in the condition. For more
information, expand the Condition node section in Node types
in prompt flows.public String getExpression()
Defines the condition. You must refer to at least one of the inputs in the condition. For more information, expand the Condition node section in Node types in prompt flows.
public FlowCondition withExpression(String expression)
Defines the condition. You must refer to at least one of the inputs in the condition. For more information, expand the Condition node section in Node types in prompt flows.
expression
- Defines the condition. You must refer to at least one of the inputs in the condition. For more
information, expand the Condition node section in Node types
in prompt flows.public void setName(String name)
A name for the condition that you can reference.
name
- A name for the condition that you can reference.public String getName()
A name for the condition that you can reference.
public FlowCondition withName(String name)
A name for the condition that you can reference.
name
- A name for the condition that you can reference.public String toString()
toString
in class Object
Object.toString()
public FlowCondition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.