Class InlineAgentTracePart.BuilderImpl
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockagentruntime.model.InlineAgentTracePart.BuilderImpl
-
- All Implemented Interfaces:
SdkPojo,InlineAgentTracePart.Builder,Buildable,CopyableBuilder<InlineAgentTracePart.Builder,InlineAgentTracePart>,SdkBuilder<InlineAgentTracePart.Builder,InlineAgentTracePart>
- Enclosing class:
- InlineAgentTracePart
protected static class InlineAgentTracePart.BuilderImpl extends Object implements InlineAgentTracePart.Builder
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilderImpl()protectedBuilderImpl(InlineAgentTracePart model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InlineAgentTracePartbuild()StringgetSessionId()Trace.BuildergetTrace()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()InlineAgentTracePart.BuildersessionId(String sessionId)The unique identifier of the session with the agent.voidsetSessionId(String sessionId)voidsetTrace(software.amazon.awssdk.services.bedrockagentruntime.model.Trace.BuilderImpl trace)InlineAgentTracePart.Buildertrace(Trace trace)Contains one part of the agent's reasoning process and results from calling API actions and querying knowledge bases.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.bedrockagentruntime.model.InlineAgentTracePart.Builder
trace
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields
-
-
-
-
Constructor Detail
-
BuilderImpl
protected BuilderImpl()
-
BuilderImpl
protected BuilderImpl(InlineAgentTracePart model)
-
-
Method Detail
-
getSessionId
public final String getSessionId()
-
setSessionId
public final void setSessionId(String sessionId)
-
sessionId
public final InlineAgentTracePart.Builder sessionId(String sessionId)
Description copied from interface:InlineAgentTracePart.BuilderThe unique identifier of the session with the agent.
- Specified by:
sessionIdin interfaceInlineAgentTracePart.Builder- 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.
-
getTrace
public final Trace.Builder getTrace()
-
setTrace
public final void setTrace(software.amazon.awssdk.services.bedrockagentruntime.model.Trace.BuilderImpl trace)
-
trace
public final InlineAgentTracePart.Builder trace(Trace trace)
Description copied from interface:InlineAgentTracePart.BuilderContains 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.
- Specified by:
tracein interfaceInlineAgentTracePart.Builder- 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.
-
build
public InlineAgentTracePart build()
- Specified by:
buildin interfaceBuildable- Specified by:
buildin interfaceSdkBuilder<InlineAgentTracePart.Builder,InlineAgentTracePart>
-
sdkFieldNameToField
public Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-