@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConditionFlowNodeConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Defines a condition node in your flow. You can specify conditions that determine which node comes next in the flow. For more information, see Node types in Amazon Bedrock works in the Amazon Bedrock User Guide.
| Constructor and Description |
|---|
ConditionFlowNodeConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
ConditionFlowNodeConfiguration |
clone() |
boolean |
equals(Object obj) |
List<FlowCondition> |
getConditions()
An array of conditions.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setConditions(Collection<FlowCondition> conditions)
An array of conditions.
|
String |
toString()
Returns a string representation of this object.
|
ConditionFlowNodeConfiguration |
withConditions(Collection<FlowCondition> conditions)
An array of conditions.
|
ConditionFlowNodeConfiguration |
withConditions(FlowCondition... conditions)
An array of conditions.
|
public List<FlowCondition> getConditions()
An array of conditions. Each member contains the name of a condition and an expression that defines the condition.
public void setConditions(Collection<FlowCondition> conditions)
An array of conditions. Each member contains the name of a condition and an expression that defines the condition.
conditions - An array of conditions. Each member contains the name of a condition and an expression that defines the
condition.public ConditionFlowNodeConfiguration withConditions(FlowCondition... conditions)
An array of conditions. Each member contains the name of a condition and an expression that defines the condition.
NOTE: This method appends the values to the existing list (if any). Use
setConditions(java.util.Collection) or withConditions(java.util.Collection) if you want to
override the existing values.
conditions - An array of conditions. Each member contains the name of a condition and an expression that defines the
condition.public ConditionFlowNodeConfiguration withConditions(Collection<FlowCondition> conditions)
An array of conditions. Each member contains the name of a condition and an expression that defines the condition.
conditions - An array of conditions. Each member contains the name of a condition and an expression that defines the
condition.public String toString()
toString in class ObjectObject.toString()public ConditionFlowNodeConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.