Interface Trace.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Trace.Builder,Trace>,SdkBuilder<Trace.Builder,Trace>,SdkPojo
- Enclosing class:
- Trace
public static interface Trace.Builder extends SdkPojo, CopyableBuilder<Trace.Builder,Trace>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Trace.BuilderfailureTrace(Consumer<FailureTrace.Builder> failureTrace)Contains information about the failure of the interaction.Trace.BuilderfailureTrace(FailureTrace failureTrace)Contains information about the failure of the interaction.default Trace.BuilderorchestrationTrace(Consumer<OrchestrationTrace.Builder> orchestrationTrace)Details about the orchestration step, in which the agent determines the order in which actions are executed and which knowledge bases are retrieved.Trace.BuilderorchestrationTrace(OrchestrationTrace orchestrationTrace)Details about the orchestration step, in which the agent determines the order in which actions are executed and which knowledge bases are retrieved.default Trace.BuilderpostProcessingTrace(Consumer<PostProcessingTrace.Builder> postProcessingTrace)Details about the post-processing step, in which the agent shapes the response..Trace.BuilderpostProcessingTrace(PostProcessingTrace postProcessingTrace)Details about the post-processing step, in which the agent shapes the response..default Trace.BuilderpreProcessingTrace(Consumer<PreProcessingTrace.Builder> preProcessingTrace)Details about the pre-processing step, in which the agent contextualizes and categorizes user inputs.Trace.BuilderpreProcessingTrace(PreProcessingTrace preProcessingTrace)Details about the pre-processing step, in which the agent contextualizes and categorizes user inputs.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
failureTrace
Trace.Builder failureTrace(FailureTrace failureTrace)
Contains information about the failure of the interaction.
- Parameters:
failureTrace- Contains information about the failure of the interaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureTrace
default Trace.Builder failureTrace(Consumer<FailureTrace.Builder> failureTrace)
Contains information about the failure of the interaction.
This is a convenience method that creates an instance of theFailureTrace.Builderavoiding the need to create one manually viaFailureTrace.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailureTrace(FailureTrace).- Parameters:
failureTrace- a consumer that will call methods onFailureTrace.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
failureTrace(FailureTrace)
-
orchestrationTrace
Trace.Builder orchestrationTrace(OrchestrationTrace orchestrationTrace)
Details about the orchestration step, in which the agent determines the order in which actions are executed and which knowledge bases are retrieved.
- Parameters:
orchestrationTrace- Details about the orchestration step, in which the agent determines the order in which actions are executed and which knowledge bases are retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
orchestrationTrace
default Trace.Builder orchestrationTrace(Consumer<OrchestrationTrace.Builder> orchestrationTrace)
Details about the orchestration step, in which the agent determines the order in which actions are executed and which knowledge bases are retrieved.
This is a convenience method that creates an instance of theOrchestrationTrace.Builderavoiding the need to create one manually viaOrchestrationTrace.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toorchestrationTrace(OrchestrationTrace).- Parameters:
orchestrationTrace- a consumer that will call methods onOrchestrationTrace.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
orchestrationTrace(OrchestrationTrace)
-
postProcessingTrace
Trace.Builder postProcessingTrace(PostProcessingTrace postProcessingTrace)
Details about the post-processing step, in which the agent shapes the response..
- Parameters:
postProcessingTrace- Details about the post-processing step, in which the agent shapes the response..- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
postProcessingTrace
default Trace.Builder postProcessingTrace(Consumer<PostProcessingTrace.Builder> postProcessingTrace)
Details about the post-processing step, in which the agent shapes the response..
This is a convenience method that creates an instance of thePostProcessingTrace.Builderavoiding the need to create one manually viaPostProcessingTrace.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topostProcessingTrace(PostProcessingTrace).- Parameters:
postProcessingTrace- a consumer that will call methods onPostProcessingTrace.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
postProcessingTrace(PostProcessingTrace)
-
preProcessingTrace
Trace.Builder preProcessingTrace(PreProcessingTrace preProcessingTrace)
Details about the pre-processing step, in which the agent contextualizes and categorizes user inputs.
- Parameters:
preProcessingTrace- Details about the pre-processing step, in which the agent contextualizes and categorizes user inputs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preProcessingTrace
default Trace.Builder preProcessingTrace(Consumer<PreProcessingTrace.Builder> preProcessingTrace)
Details about the pre-processing step, in which the agent contextualizes and categorizes user inputs.
This is a convenience method that creates an instance of thePreProcessingTrace.Builderavoiding the need to create one manually viaPreProcessingTrace.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topreProcessingTrace(PreProcessingTrace).- Parameters:
preProcessingTrace- a consumer that will call methods onPreProcessingTrace.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
preProcessingTrace(PreProcessingTrace)
-
-