Class FlowTraceEvent
java.lang.Object
software.amazon.awssdk.services.bedrockagentruntime.model.FlowTraceEvent
- All Implemented Interfaces:
Serializable,SdkPojo,FlowResponseStream,ToCopyableBuilder<FlowTraceEvent.Builder,FlowTraceEvent>
- Direct Known Subclasses:
DefaultFlowTraceEvent
@Generated("software.amazon.awssdk:codegen")
public class FlowTraceEvent
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<FlowTraceEvent.Builder,FlowTraceEvent>, FlowResponseStream
Contains information about a trace, which tracks an input or output for a node in the flow. For more information, see Track each step in your prompt flow by viewing its trace in Amazon Bedrock.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceprotected static classNested classes/interfaces inherited from interface software.amazon.awssdk.services.bedrockagentruntime.model.FlowResponseStream
FlowResponseStream.EventType -
Field Summary
Fields inherited from interface software.amazon.awssdk.services.bedrockagentruntime.model.FlowResponseStream
UNKNOWN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(InvokeFlowResponseHandler.Visitor visitor) Calls the appropriate visit method depending on the subtype ofFlowTraceEvent.static FlowTraceEvent.Builderbuilder()final FlowTraceEventcopy(Consumer<? super FlowTraceEvent.Builder> modifier) final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends FlowTraceEvent.Builder>final StringtoString()Returns a string representation of this object.final FlowTracetrace()The trace object containing information about an input or output for a node in the flow.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.services.bedrockagentruntime.model.FlowResponseStream
sdkEventType
-
Constructor Details
-
FlowTraceEvent
-
-
Method Details
-
trace
The trace object containing information about an input or output for a node in the flow.
- Returns:
- The trace object containing information about an input or output for a node in the flow.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<FlowTraceEvent.Builder,FlowTraceEvent>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
copy
- Specified by:
copyin interfaceToCopyableBuilder<FlowTraceEvent.Builder,FlowTraceEvent>
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
accept
Calls the appropriate visit method depending on the subtype ofFlowTraceEvent.- Specified by:
acceptin interfaceFlowResponseStream- Parameters:
visitor- Visitor to invoke.
-