Interface InlineAgentTracePart.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<InlineAgentTracePart.Builder,,- InlineAgentTracePart> - SdkBuilder<InlineAgentTracePart.Builder,,- InlineAgentTracePart> - SdkPojo
- All Known Subinterfaces:
- DefaultTrace.Builder
- Enclosing class:
- InlineAgentTracePart
- 
Method SummaryModifier and TypeMethodDescriptioncallerChain(Collection<Caller> callerChain) The caller chain for the trace part.callerChain(Consumer<Caller.Builder>... callerChain) The caller chain for the trace part.callerChain(Caller... callerChain) The caller chain for the trace part.collaboratorName(String collaboratorName) The collaborator name for the trace part.The time that trace occurred.The unique identifier of the session with the agent.default InlineAgentTracePart.Buildertrace(Consumer<Trace.Builder> trace) Contains one part of the agent's reasoning process and results from calling API actions and querying knowledge bases.Contains one part of the agent's reasoning process and results from calling API actions and querying knowledge bases.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
sessionIdThe unique identifier of the session with the agent. - Parameters:
- sessionId- The unique identifier of the session with the agent.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
traceContains one part of the agent's reasoning process and results from calling API actions and querying knowledge bases. You can use the trace to understand how the agent arrived at the response it provided the customer. For more information, see Trace enablement. - Parameters:
- trace- Contains one part of the agent's reasoning process and results from calling API actions and querying knowledge bases. You can use the trace to understand how the agent arrived at the response it provided the customer. For more information, see Trace enablement.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
traceContains one part of the agent's reasoning process and results from calling API actions and querying knowledge bases. You can use the trace to understand how the agent arrived at the response it provided the customer. For more information, see Trace enablement. This is a convenience method that creates an instance of theTrace.Builderavoiding the need to create one manually viaTrace.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totrace(Trace).- Parameters:
- trace- a consumer that will call methods on- Trace.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
callerChainThe caller chain for the trace part. - Parameters:
- callerChain- The caller chain for the trace part.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
callerChainThe caller chain for the trace part. - Parameters:
- callerChain- The caller chain for the trace part.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
callerChainThe caller chain for the trace part. This is a convenience method that creates an instance of theCaller.Builderavoiding the need to create one manually viaCaller.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocallerChain(List<Caller>).- Parameters:
- callerChain- a consumer that will call methods on- Caller.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
eventTimeThe time that trace occurred. - Parameters:
- eventTime- The time that trace occurred.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
collaboratorNameThe collaborator name for the trace part. - Parameters:
- collaboratorName- The collaborator name for the trace part.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-