@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FlowNodeInput extends Object implements Serializable, Cloneable, StructuredPojo
Contains configurations for an input to a node.
Constructor and Description |
---|
FlowNodeInput() |
Modifier and Type | Method and Description |
---|---|
FlowNodeInput |
clone() |
boolean |
equals(Object obj) |
String |
getExpression()
An expression that formats the input for the node.
|
String |
getName()
A name for the input that you can reference.
|
String |
getType()
The data type of the input.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setExpression(String expression)
An expression that formats the input for the node.
|
void |
setName(String name)
A name for the input that you can reference.
|
void |
setType(String type)
The data type of the input.
|
String |
toString()
Returns a string representation of this object.
|
FlowNodeInput |
withExpression(String expression)
An expression that formats the input for the node.
|
FlowNodeInput |
withName(String name)
A name for the input that you can reference.
|
FlowNodeInput |
withType(FlowNodeIODataType type)
The data type of the input.
|
FlowNodeInput |
withType(String type)
The data type of the input.
|
public void setExpression(String expression)
An expression that formats the input for the node. For an explanation of how to create expressions, see Expressions in Prompt flows in Amazon Bedrock.
expression
- An expression that formats the input for the node. For an explanation of how to create expressions, see Expressions in Prompt
flows in Amazon Bedrock.public String getExpression()
An expression that formats the input for the node. For an explanation of how to create expressions, see Expressions in Prompt flows in Amazon Bedrock.
public FlowNodeInput withExpression(String expression)
An expression that formats the input for the node. For an explanation of how to create expressions, see Expressions in Prompt flows in Amazon Bedrock.
expression
- An expression that formats the input for the node. For an explanation of how to create expressions, see Expressions in Prompt
flows in Amazon Bedrock.public void setName(String name)
A name for the input that you can reference.
name
- A name for the input that you can reference.public String getName()
A name for the input that you can reference.
public FlowNodeInput withName(String name)
A name for the input that you can reference.
name
- A name for the input that you can reference.public void setType(String type)
The data type of the input. If the input doesn't match this type at runtime, a validation error will be thrown.
type
- The data type of the input. If the input doesn't match this type at runtime, a validation error will be
thrown.FlowNodeIODataType
public String getType()
The data type of the input. If the input doesn't match this type at runtime, a validation error will be thrown.
FlowNodeIODataType
public FlowNodeInput withType(String type)
The data type of the input. If the input doesn't match this type at runtime, a validation error will be thrown.
type
- The data type of the input. If the input doesn't match this type at runtime, a validation error will be
thrown.FlowNodeIODataType
public FlowNodeInput withType(FlowNodeIODataType type)
The data type of the input. If the input doesn't match this type at runtime, a validation error will be thrown.
type
- The data type of the input. If the input doesn't match this type at runtime, a validation error will be
thrown.FlowNodeIODataType
public String toString()
toString
in class Object
Object.toString()
public FlowNodeInput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.