@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PromptFlowNodeConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Contains configurations for a prompt node in the flow. You can use a prompt from Prompt management or you can define one in this node. If the prompt contains variables, the inputs into this node will fill in the variables. The output from this node is the response generated by the model. For more information, see Node types in Amazon Bedrock works in the Amazon Bedrock User Guide.
Constructor and Description |
---|
PromptFlowNodeConfiguration() |
Modifier and Type | Method and Description |
---|---|
PromptFlowNodeConfiguration |
clone() |
boolean |
equals(Object obj) |
PromptFlowNodeSourceConfiguration |
getSourceConfiguration()
Specifies whether the prompt is from Prompt management or defined inline.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSourceConfiguration(PromptFlowNodeSourceConfiguration sourceConfiguration)
Specifies whether the prompt is from Prompt management or defined inline.
|
String |
toString()
Returns a string representation of this object.
|
PromptFlowNodeConfiguration |
withSourceConfiguration(PromptFlowNodeSourceConfiguration sourceConfiguration)
Specifies whether the prompt is from Prompt management or defined inline.
|
public void setSourceConfiguration(PromptFlowNodeSourceConfiguration sourceConfiguration)
Specifies whether the prompt is from Prompt management or defined inline.
sourceConfiguration
- Specifies whether the prompt is from Prompt management or defined inline.public PromptFlowNodeSourceConfiguration getSourceConfiguration()
Specifies whether the prompt is from Prompt management or defined inline.
public PromptFlowNodeConfiguration withSourceConfiguration(PromptFlowNodeSourceConfiguration sourceConfiguration)
Specifies whether the prompt is from Prompt management or defined inline.
sourceConfiguration
- Specifies whether the prompt is from Prompt management or defined inline.public String toString()
toString
in class Object
Object.toString()
public PromptFlowNodeConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.