Interface AgenticRetrieveMemoryRetrieveDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AgenticRetrieveMemoryRetrieveDetails.Builder,,AgenticRetrieveMemoryRetrieveDetails> SdkBuilder<AgenticRetrieveMemoryRetrieveDetails.Builder,,AgenticRetrieveMemoryRetrieveDetails> SdkPojo
- Enclosing class:
AgenticRetrieveMemoryRetrieveDetails
@Mutable
@NotThreadSafe
public static interface AgenticRetrieveMemoryRetrieveDetails.Builder
extends SdkPojo, CopyableBuilder<AgenticRetrieveMemoryRetrieveDetails.Builder,AgenticRetrieveMemoryRetrieveDetails>
-
Method Summary
Modifier and TypeMethodDescriptioninputQuery(Consumer<AgenticRetrieveMessageContent.Builder> inputQuery) The query that the agent composed.inputQuery(AgenticRetrieveMessageContent inputQuery) The query that the agent composed.The identifier of the AgentCore Memory resource retrieved from.The namespace prefix retrieved from, as supplied in the request.namespacePath(String namespacePath) The parent namespace retrieved from hierarchically, as supplied in the request.strategyId(String strategyId) The extraction strategy that restricted retrieval, if the request specified one.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
-
inputQuery
The query that the agent composed.
- Parameters:
inputQuery- The query that the agent composed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputQuery
default AgenticRetrieveMemoryRetrieveDetails.Builder inputQuery(Consumer<AgenticRetrieveMessageContent.Builder> inputQuery) The query that the agent composed.
This is a convenience method that creates an instance of theAgenticRetrieveMessageContent.Builderavoiding the need to create one manually viaAgenticRetrieveMessageContent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinputQuery(AgenticRetrieveMessageContent).- Parameters:
inputQuery- a consumer that will call methods onAgenticRetrieveMessageContent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
memoryId
The identifier of the AgentCore Memory resource retrieved from.
- Parameters:
memoryId- The identifier of the AgentCore Memory resource retrieved from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespace
The namespace prefix retrieved from, as supplied in the request. This field is present when the request specified namespace.
- Parameters:
namespace- The namespace prefix retrieved from, as supplied in the request. This field is present when the request specified namespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespacePath
The parent namespace retrieved from hierarchically, as supplied in the request. This field is present when the request specified namespacePath.
- Parameters:
namespacePath- The parent namespace retrieved from hierarchically, as supplied in the request. This field is present when the request specified namespacePath.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
strategyId
The extraction strategy that restricted retrieval, if the request specified one.
- Parameters:
strategyId- The extraction strategy that restricted retrieval, if the request specified one.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-