Class FlowTrace
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockagentruntime.model.FlowTrace
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<FlowTrace.Builder,FlowTrace>
@Generated("software.amazon.awssdk:codegen") public final class FlowTrace extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FlowTrace.Builder,FlowTrace>
Contains information about 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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
FlowTrace.Builder
static class
FlowTrace.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FlowTrace.Builder
builder()
FlowTraceConditionNodeResultEvent
conditionNodeResultTrace()
Contains information about an output from a condition node.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
static FlowTrace
fromConditionNodeResultTrace(Consumer<FlowTraceConditionNodeResultEvent.Builder> conditionNodeResultTrace)
Create an instance of this class withconditionNodeResultTrace()
initialized to the given value.static FlowTrace
fromConditionNodeResultTrace(FlowTraceConditionNodeResultEvent conditionNodeResultTrace)
Create an instance of this class withconditionNodeResultTrace()
initialized to the given value.static FlowTrace
fromNodeInputTrace(Consumer<FlowTraceNodeInputEvent.Builder> nodeInputTrace)
Create an instance of this class withnodeInputTrace()
initialized to the given value.static FlowTrace
fromNodeInputTrace(FlowTraceNodeInputEvent nodeInputTrace)
Create an instance of this class withnodeInputTrace()
initialized to the given value.static FlowTrace
fromNodeOutputTrace(Consumer<FlowTraceNodeOutputEvent.Builder> nodeOutputTrace)
Create an instance of this class withnodeOutputTrace()
initialized to the given value.static FlowTrace
fromNodeOutputTrace(FlowTraceNodeOutputEvent nodeOutputTrace)
Create an instance of this class withnodeOutputTrace()
initialized to the given value.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
FlowTraceNodeInputEvent
nodeInputTrace()
Contains information about the input into a node.FlowTraceNodeOutputEvent
nodeOutputTrace()
Contains information about the output from a node.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends FlowTrace.Builder>
serializableBuilderClass()
FlowTrace.Builder
toBuilder()
String
toString()
Returns a string representation of this object.FlowTrace.Type
type()
Retrieve an enum value representing which member of this object is populated.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
conditionNodeResultTrace
public final FlowTraceConditionNodeResultEvent conditionNodeResultTrace()
Contains information about an output from a condition node.
- Returns:
- Contains information about an output from a condition node.
-
nodeInputTrace
public final FlowTraceNodeInputEvent nodeInputTrace()
Contains information about the input into a node.
- Returns:
- Contains information about the input into a node.
-
nodeOutputTrace
public final FlowTraceNodeOutputEvent nodeOutputTrace()
Contains information about the output from a node.
- Returns:
- Contains information about the output from a node.
-
toBuilder
public FlowTrace.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<FlowTrace.Builder,FlowTrace>
-
builder
public static FlowTrace.Builder builder()
-
serializableBuilderClass
public static Class<? extends FlowTrace.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String 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.
-
fromConditionNodeResultTrace
public static FlowTrace fromConditionNodeResultTrace(FlowTraceConditionNodeResultEvent conditionNodeResultTrace)
Create an instance of this class withconditionNodeResultTrace()
initialized to the given value.Contains information about an output from a condition node.
- Parameters:
conditionNodeResultTrace
- Contains information about an output from a condition node.
-
fromConditionNodeResultTrace
public static FlowTrace fromConditionNodeResultTrace(Consumer<FlowTraceConditionNodeResultEvent.Builder> conditionNodeResultTrace)
Create an instance of this class withconditionNodeResultTrace()
initialized to the given value.Contains information about an output from a condition node.
- Parameters:
conditionNodeResultTrace
- Contains information about an output from a condition node.
-
fromNodeInputTrace
public static FlowTrace fromNodeInputTrace(FlowTraceNodeInputEvent nodeInputTrace)
Create an instance of this class withnodeInputTrace()
initialized to the given value.Contains information about the input into a node.
- Parameters:
nodeInputTrace
- Contains information about the input into a node.
-
fromNodeInputTrace
public static FlowTrace fromNodeInputTrace(Consumer<FlowTraceNodeInputEvent.Builder> nodeInputTrace)
Create an instance of this class withnodeInputTrace()
initialized to the given value.Contains information about the input into a node.
- Parameters:
nodeInputTrace
- Contains information about the input into a node.
-
fromNodeOutputTrace
public static FlowTrace fromNodeOutputTrace(FlowTraceNodeOutputEvent nodeOutputTrace)
Create an instance of this class withnodeOutputTrace()
initialized to the given value.Contains information about the output from a node.
- Parameters:
nodeOutputTrace
- Contains information about the output from a node.
-
fromNodeOutputTrace
public static FlowTrace fromNodeOutputTrace(Consumer<FlowTraceNodeOutputEvent.Builder> nodeOutputTrace)
Create an instance of this class withnodeOutputTrace()
initialized to the given value.Contains information about the output from a node.
- Parameters:
nodeOutputTrace
- Contains information about the output from a node.
-
type
public FlowTrace.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beFlowTrace.Type.UNKNOWN_TO_SDK_VERSION
if the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beFlowTrace.Type.UNKNOWN_TO_SDK_VERSION
if zero members are set, andnull
if more than one member is set.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-