Interface AgenticRetrieveTraceEventAttributes.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AgenticRetrieveTraceEventAttributes.Builder,,AgenticRetrieveTraceEventAttributes> SdkBuilder<AgenticRetrieveTraceEventAttributes.Builder,,AgenticRetrieveTraceEventAttributes> SdkPojo
- Enclosing class:
AgenticRetrieveTraceEventAttributes
-
Method Summary
Modifier and TypeMethodDescriptionactions(Collection<AgenticRetrieveAction> actions) The retrievals the agent planned.actions(Consumer<AgenticRetrieveAction.Builder>... actions) The retrievals the agent planned.actions(AgenticRetrieveAction... actions) The retrievals the agent planned.failures(Collection<AgenticRetrieveFailure> failures) Problems that failed the step.failures(Consumer<AgenticRetrieveFailure.Builder>... failures) Problems that failed the step.failures(AgenticRetrieveFailure... failures) Problems that failed the step.Human-readable description of the step's state.The status of the step.status(AgenticRetrieveStepStatus status) The status of the step.The step of the agent loop that this event reports on.step(AgenticRetrieveStep step) The step of the agent loop that this event reports on.warnings(Collection<AgenticRetrieveWarning> warnings) Problems that did not stop the step.warnings(Consumer<AgenticRetrieveWarning.Builder>... warnings) Problems that did not stop the step.warnings(AgenticRetrieveWarning... warnings) Problems that did not stop the step.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
-
step
The step of the agent loop that this event reports on. Valid values:
-
Planning- The agent is planning which retrievals to run. -
Retrieval- The agent is running a retrieval.
- Parameters:
step- The step of the agent loop that this event reports on. Valid values:-
Planning- The agent is planning which retrievals to run. -
Retrieval- The agent is running a retrieval.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
step
The step of the agent loop that this event reports on. Valid values:
-
Planning- The agent is planning which retrievals to run. -
Retrieval- The agent is running a retrieval.
- Parameters:
step- The step of the agent loop that this event reports on. Valid values:-
Planning- The agent is planning which retrievals to run. -
Retrieval- The agent is running a retrieval.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
status
The status of the step. Valid values:
-
IN_PROGRESS- The step started. -
SUCCEEDED- The step finished successfully. -
FAILED- The step failed.failuresdescribes why.
- Parameters:
status- The status of the step. Valid values:-
IN_PROGRESS- The step started. -
SUCCEEDED- The step finished successfully. -
FAILED- The step failed.failuresdescribes why.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
status
The status of the step. Valid values:
-
IN_PROGRESS- The step started. -
SUCCEEDED- The step finished successfully. -
FAILED- The step failed.failuresdescribes why.
- Parameters:
status- The status of the step. Valid values:-
IN_PROGRESS- The step started. -
SUCCEEDED- The step finished successfully. -
FAILED- The step failed.failuresdescribes why.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
message
Human-readable description of the step's state.
- Parameters:
message- Human-readable description of the step's state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The retrievals the agent planned. Present on Planning events only.
- Parameters:
actions- The retrievals the agent planned. Present on Planning events only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The retrievals the agent planned. Present on Planning events only.
- Parameters:
actions- The retrievals the agent planned. Present on Planning events only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
AgenticRetrieveTraceEventAttributes.Builder actions(Consumer<AgenticRetrieveAction.Builder>... actions) The retrievals the agent planned. Present on Planning events only.
This is a convenience method that creates an instance of theAgenticRetrieveAction.Builderavoiding the need to create one manually viaAgenticRetrieveAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toactions(List<AgenticRetrieveAction>).- Parameters:
actions- a consumer that will call methods onAgenticRetrieveAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
warnings
Problems that did not stop the step.
- Parameters:
warnings- Problems that did not stop the step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
warnings
Problems that did not stop the step.
- Parameters:
warnings- Problems that did not stop the step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
warnings
AgenticRetrieveTraceEventAttributes.Builder warnings(Consumer<AgenticRetrieveWarning.Builder>... warnings) Problems that did not stop the step.
This is a convenience method that creates an instance of theAgenticRetrieveWarning.Builderavoiding the need to create one manually viaAgenticRetrieveWarning.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towarnings(List<AgenticRetrieveWarning>).- Parameters:
warnings- a consumer that will call methods onAgenticRetrieveWarning.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failures
Problems that failed the step.
- Parameters:
failures- Problems that failed the step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failures
Problems that failed the step.
- Parameters:
failures- Problems that failed the step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failures
AgenticRetrieveTraceEventAttributes.Builder failures(Consumer<AgenticRetrieveFailure.Builder>... failures) Problems that failed the step.
This is a convenience method that creates an instance of theAgenticRetrieveFailure.Builderavoiding the need to create one manually viaAgenticRetrieveFailure.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailures(List<AgenticRetrieveFailure>).- Parameters:
failures- a consumer that will call methods onAgenticRetrieveFailure.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-