Interface AgenticRetrieveAction.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AgenticRetrieveAction.Builder,,AgenticRetrieveAction> SdkBuilder<AgenticRetrieveAction.Builder,,AgenticRetrieveAction> SdkPojo
- Enclosing class:
AgenticRetrieveAction
-
Method Summary
Modifier and TypeMethodDescriptiondefault AgenticRetrieveAction.BuilderfullDocumentExpansion(Consumer<AgenticRetrieveFullDocExpansionDetails.Builder> fullDocumentExpansion) Details of a full document expansion action.fullDocumentExpansion(AgenticRetrieveFullDocExpansionDetails fullDocumentExpansion) Details of a full document expansion action.default AgenticRetrieveAction.BuildermemoryRetrieve(Consumer<AgenticRetrieveMemoryRetrieveDetails.Builder> memoryRetrieve) The details of a long-term memory retrieval that the agent chose to perform.memoryRetrieve(AgenticRetrieveMemoryRetrieveDetails memoryRetrieve) The details of a long-term memory retrieval that the agent chose to perform.default AgenticRetrieveAction.Builderretrieve(Consumer<AgenticRetrieveActionDetails.Builder> retrieve) Details of the retrieve action.retrieve(AgenticRetrieveActionDetails retrieve) Details of the retrieve action.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
fullDocumentExpansion
AgenticRetrieveAction.Builder fullDocumentExpansion(AgenticRetrieveFullDocExpansionDetails fullDocumentExpansion) Details of a full document expansion action.
- Parameters:
fullDocumentExpansion- Details of a full document expansion action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fullDocumentExpansion
default AgenticRetrieveAction.Builder fullDocumentExpansion(Consumer<AgenticRetrieveFullDocExpansionDetails.Builder> fullDocumentExpansion) Details of a full document expansion action.
This is a convenience method that creates an instance of theAgenticRetrieveFullDocExpansionDetails.Builderavoiding the need to create one manually viaAgenticRetrieveFullDocExpansionDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofullDocumentExpansion(AgenticRetrieveFullDocExpansionDetails).- Parameters:
fullDocumentExpansion- a consumer that will call methods onAgenticRetrieveFullDocExpansionDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
memoryRetrieve
The details of a long-term memory retrieval that the agent chose to perform.
- Parameters:
memoryRetrieve- The details of a long-term memory retrieval that the agent chose to perform.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memoryRetrieve
default AgenticRetrieveAction.Builder memoryRetrieve(Consumer<AgenticRetrieveMemoryRetrieveDetails.Builder> memoryRetrieve) The details of a long-term memory retrieval that the agent chose to perform.
This is a convenience method that creates an instance of theAgenticRetrieveMemoryRetrieveDetails.Builderavoiding the need to create one manually viaAgenticRetrieveMemoryRetrieveDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomemoryRetrieve(AgenticRetrieveMemoryRetrieveDetails).- Parameters:
memoryRetrieve- a consumer that will call methods onAgenticRetrieveMemoryRetrieveDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
retrieve
Details of the retrieve action.
- Parameters:
retrieve- Details of the retrieve action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retrieve
default AgenticRetrieveAction.Builder retrieve(Consumer<AgenticRetrieveActionDetails.Builder> retrieve) Details of the retrieve action.
This is a convenience method that creates an instance of theAgenticRetrieveActionDetails.Builderavoiding the need to create one manually viaAgenticRetrieveActionDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toretrieve(AgenticRetrieveActionDetails).- Parameters:
retrieve- a consumer that will call methods onAgenticRetrieveActionDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-