Interface FlowTraceEvent.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FlowTraceEvent.Builder,,FlowTraceEvent> SdkBuilder<FlowTraceEvent.Builder,,FlowTraceEvent> SdkPojo
- All Known Subinterfaces:
DefaultFlowTraceEvent.Builder
- Enclosing class:
FlowTraceEvent
@Mutable
@NotThreadSafe
public static interface FlowTraceEvent.Builder
extends SdkPojo, CopyableBuilder<FlowTraceEvent.Builder,FlowTraceEvent>
-
Method Summary
Modifier and TypeMethodDescriptiondefault FlowTraceEvent.Buildertrace(Consumer<FlowTrace.Builder> trace) The trace object containing information about an input or output for a node in the flow.The trace object containing information about an input or output for a node in the flow.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
-
trace
The trace object containing information about an input or output for a node in the flow.
- Parameters:
trace- The trace object containing information about an input or output for a node in the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trace
The trace object containing information about an input or output for a node in the flow.
This is a convenience method that creates an instance of theFlowTrace.Builderavoiding the need to create one manually viaFlowTrace.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totrace(FlowTrace).- Parameters:
trace- a consumer that will call methods onFlowTrace.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-