Interface AgenticRetrieveTraceEvent.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AgenticRetrieveTraceEvent.Builder,,AgenticRetrieveTraceEvent> SdkBuilder<AgenticRetrieveTraceEvent.Builder,,AgenticRetrieveTraceEvent> SdkPojo
- All Known Subinterfaces:
DefaultTraceEvent.Builder
- Enclosing class:
AgenticRetrieveTraceEvent
@Mutable
@NotThreadSafe
public static interface AgenticRetrieveTraceEvent.Builder
extends SdkPojo, CopyableBuilder<AgenticRetrieveTraceEvent.Builder,AgenticRetrieveTraceEvent>
-
Method Summary
Modifier and TypeMethodDescriptionThe step that the event reports on, the status of the step, and what happened in it.attributes(AgenticRetrieveTraceEventAttributes attributes) The step that the event reports on, the status of the step, and what happened in it.Unique identifier for the event.occurredAt(Instant occurredAt) When the event occurred.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
-
id
Unique identifier for the event.
- Parameters:
id- Unique identifier for the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
occurredAt
When the event occurred.
- Parameters:
occurredAt- When the event occurred.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
The step that the event reports on, the status of the step, and what happened in it.
- Parameters:
attributes- The step that the event reports on, the status of the step, and what happened in it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
default AgenticRetrieveTraceEvent.Builder attributes(Consumer<AgenticRetrieveTraceEventAttributes.Builder> attributes) The step that the event reports on, the status of the step, and what happened in it.
This is a convenience method that creates an instance of theAgenticRetrieveTraceEventAttributes.Builderavoiding the need to create one manually viaAgenticRetrieveTraceEventAttributes.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattributes(AgenticRetrieveTraceEventAttributes).- Parameters:
attributes- a consumer that will call methods onAgenticRetrieveTraceEventAttributes.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-