Class KnowledgeBaseFlowNodeConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockagent.model.KnowledgeBaseFlowNodeConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<KnowledgeBaseFlowNodeConfiguration.Builder,KnowledgeBaseFlowNodeConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class KnowledgeBaseFlowNodeConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<KnowledgeBaseFlowNodeConfiguration.Builder,KnowledgeBaseFlowNodeConfiguration>
Contains configurations for a knowledge base node in a flow. This node takes a query as the input and returns, as the output, the retrieved responses directly (as an array) or a response generated based on the retrieved responses. 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 interfaceKnowledgeBaseFlowNodeConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static KnowledgeBaseFlowNodeConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringknowledgeBaseId()The unique identifier of the knowledge base to query.StringmodelId()The unique identifier of the model or inference profile to use to generate a response from the query results.List<SdkField<?>>sdkFields()static Class<? extends KnowledgeBaseFlowNodeConfiguration.Builder>serializableBuilderClass()KnowledgeBaseFlowNodeConfiguration.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
-
knowledgeBaseId
public final String knowledgeBaseId()
The unique identifier of the knowledge base to query.
- Returns:
- The unique identifier of the knowledge base to query.
-
modelId
public final String modelId()
The unique identifier of the model or inference profile to use to generate a response from the query results. Omit this field if you want to return the retrieved results as an array.
- Returns:
- The unique identifier of the model or inference profile to use to generate a response from the query results. Omit this field if you want to return the retrieved results as an array.
-
toBuilder
public KnowledgeBaseFlowNodeConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<KnowledgeBaseFlowNodeConfiguration.Builder,KnowledgeBaseFlowNodeConfiguration>
-
builder
public static KnowledgeBaseFlowNodeConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends KnowledgeBaseFlowNodeConfiguration.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.
-
-