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 list of actions taken during this step.actions(Consumer<AgenticRetrieveAction.Builder>... actions) The list of actions taken during this step.actions(AgenticRetrieveAction... actions) The list of actions taken during this step.failures(Collection<AgenticRetrieveFailure> failures) Failures that occurred during this step.failures(Consumer<AgenticRetrieveFailure.Builder>... failures) Failures that occurred during this step.failures(AgenticRetrieveFailure... failures) Failures that occurred during this step.A human-readable message describing the trace event.retrievalMetadata(Collection<AgenticRetrieveSourceMetadata> retrievalMetadata) Metadata about the retrieval sources used.retrievalMetadata(Consumer<AgenticRetrieveSourceMetadata.Builder>... retrievalMetadata) Metadata about the retrieval sources used.retrievalMetadata(AgenticRetrieveSourceMetadata... retrievalMetadata) Metadata about the retrieval sources used.retrievalResponse(Collection<AgenticRetrieveTraceResultItem> retrievalResponse) The retrieval results from this step.retrievalResponse(Consumer<AgenticRetrieveTraceResultItem.Builder>... retrievalResponse) The retrieval results from this step.retrievalResponse(AgenticRetrieveTraceResultItem... retrievalResponse) The retrieval results from this step.The status of the current step.status(AgenticRetrieveStatus status) The status of the current step.The current step in the retrieval process.step(AgenticRetrieveStep step) The current step in the retrieval process.warnings(Collection<AgenticRetrieveWarning> warnings) Warnings generated during this step.warnings(Consumer<AgenticRetrieveWarning.Builder>... warnings) Warnings generated during this step.warnings(AgenticRetrieveWarning... warnings) Warnings generated during this 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
-
actions
The list of actions taken during this step.
- Parameters:
actions- The list of actions taken during this step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The list of actions taken during this step.
- Parameters:
actions- The list of actions taken during this step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
AgenticRetrieveTraceEventAttributes.Builder actions(Consumer<AgenticRetrieveAction.Builder>... actions) The list of actions taken during this step.
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:
-
failures
Failures that occurred during this step.
- Parameters:
failures- Failures that occurred during this step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failures
Failures that occurred during this step.
- Parameters:
failures- Failures that occurred during this step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failures
AgenticRetrieveTraceEventAttributes.Builder failures(Consumer<AgenticRetrieveFailure.Builder>... failures) Failures that occurred during this 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:
-
message
A human-readable message describing the trace event.
- Parameters:
message- A human-readable message describing the trace event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retrievalMetadata
AgenticRetrieveTraceEventAttributes.Builder retrievalMetadata(Collection<AgenticRetrieveSourceMetadata> retrievalMetadata) Metadata about the retrieval sources used.
- Parameters:
retrievalMetadata- Metadata about the retrieval sources used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retrievalMetadata
AgenticRetrieveTraceEventAttributes.Builder retrievalMetadata(AgenticRetrieveSourceMetadata... retrievalMetadata) Metadata about the retrieval sources used.
- Parameters:
retrievalMetadata- Metadata about the retrieval sources used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retrievalMetadata
AgenticRetrieveTraceEventAttributes.Builder retrievalMetadata(Consumer<AgenticRetrieveSourceMetadata.Builder>... retrievalMetadata) Metadata about the retrieval sources used.
This is a convenience method that creates an instance of theAgenticRetrieveSourceMetadata.Builderavoiding the need to create one manually viaAgenticRetrieveSourceMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toretrievalMetadata(List<AgenticRetrieveSourceMetadata>).- Parameters:
retrievalMetadata- a consumer that will call methods onAgenticRetrieveSourceMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
retrievalResponse
AgenticRetrieveTraceEventAttributes.Builder retrievalResponse(Collection<AgenticRetrieveTraceResultItem> retrievalResponse) The retrieval results from this step.
- Parameters:
retrievalResponse- The retrieval results from this step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retrievalResponse
AgenticRetrieveTraceEventAttributes.Builder retrievalResponse(AgenticRetrieveTraceResultItem... retrievalResponse) The retrieval results from this step.
- Parameters:
retrievalResponse- The retrieval results from this step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retrievalResponse
AgenticRetrieveTraceEventAttributes.Builder retrievalResponse(Consumer<AgenticRetrieveTraceResultItem.Builder>... retrievalResponse) The retrieval results from this step.
This is a convenience method that creates an instance of theAgenticRetrieveTraceResultItem.Builderavoiding the need to create one manually viaAgenticRetrieveTraceResultItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toretrievalResponse(List<AgenticRetrieveTraceResultItem>).- Parameters:
retrievalResponse- a consumer that will call methods onAgenticRetrieveTraceResultItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the current step.
- Parameters:
status- The status of the current step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the current step.
- Parameters:
status- The status of the current step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
step
The current step in the retrieval process.
- Parameters:
step- The current step in the retrieval process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
step
The current step in the retrieval process.
- Parameters:
step- The current step in the retrieval process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
warnings
Warnings generated during this step.
- Parameters:
warnings- Warnings generated during this step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
warnings
Warnings generated during this step.
- Parameters:
warnings- Warnings generated during this step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
warnings
AgenticRetrieveTraceEventAttributes.Builder warnings(Consumer<AgenticRetrieveWarning.Builder>... warnings) Warnings generated during this 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:
-