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 Amazon Bedrock works in the Amazon Bedrock User Guide.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePromptFlowNodeConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PromptFlowNodeConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends PromptFlowNodeConfiguration.Builder>serializableBuilderClass()PromptFlowNodeSourceConfigurationsourceConfiguration()Specifies whether the prompt is from Prompt management or defined inline.PromptFlowNodeConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
sourceConfiguration
public final PromptFlowNodeSourceConfiguration sourceConfiguration()
Specifies whether the prompt is from Prompt management or defined inline.
- Returns:
- Specifies whether the prompt is from Prompt management or defined inline.
-
toBuilder
public PromptFlowNodeConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PromptFlowNodeConfiguration.Builder,PromptFlowNodeConfiguration>
-
builder
public static PromptFlowNodeConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends PromptFlowNodeConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
-