Class PromptFlowNodeConfiguration
java.lang.Object
software.amazon.awssdk.services.bedrockagent.model.PromptFlowNodeConfiguration
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PromptFlowNodeConfiguration.Builder,PromptFlowNodeConfiguration>
@Generated("software.amazon.awssdk:codegen")
public final class PromptFlowNodeConfiguration
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<PromptFlowNodeConfiguration.Builder,PromptFlowNodeConfiguration>
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 a flow in the Amazon Bedrock User Guide.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final GuardrailConfigurationContains configurations for a guardrail to apply to the prompt in this node and the response generated from it.final inthashCode()static Class<? extends PromptFlowNodeConfiguration.Builder>Specifies whether the prompt is from Prompt management or defined inline.final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
sourceConfiguration
Specifies whether the prompt is from Prompt management or defined inline.
- Returns:
- Specifies whether the prompt is from Prompt management or defined inline.
-
guardrailConfiguration
Contains configurations for a guardrail to apply to the prompt in this node and the response generated from it.
- Returns:
- Contains configurations for a guardrail to apply to the prompt in this node and the response generated from it.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<PromptFlowNodeConfiguration.Builder,PromptFlowNodeConfiguration>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-