Interface FlowTraceEvent.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<FlowTraceEvent.Builder,FlowTraceEvent>,SdkBuilder<FlowTraceEvent.Builder,FlowTraceEvent>,SdkPojo
- All Known Subinterfaces:
DefaultFlowTraceEvent.Builder
- All Known Implementing Classes:
FlowTraceEvent.BuilderImpl
- Enclosing class:
- FlowTraceEvent
@Mutable @NotThreadSafe public static interface FlowTraceEvent.Builder extends SdkPojo, CopyableBuilder<FlowTraceEvent.Builder,FlowTraceEvent>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default FlowTraceEvent.Buildertrace(Consumer<FlowTrace.Builder> trace)The trace object containing information about an input or output for a node in the flow.FlowTraceEvent.Buildertrace(FlowTrace trace)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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
trace
FlowTraceEvent.Builder trace(FlowTrace 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
default FlowTraceEvent.Builder trace(Consumer<FlowTrace.Builder> 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:
trace(FlowTrace)
-
-