Interface FlowTraceDependencyEvent.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FlowTraceDependencyEvent.Builder,
,FlowTraceDependencyEvent> SdkBuilder<FlowTraceDependencyEvent.Builder,
,FlowTraceDependencyEvent> SdkPojo
- Enclosing class:
FlowTraceDependencyEvent
@Mutable
@NotThreadSafe
public static interface FlowTraceDependencyEvent.Builder
extends SdkPojo, CopyableBuilder<FlowTraceDependencyEvent.Builder,FlowTraceDependencyEvent>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the node that generated the dependency trace.The date and time that the dependency trace was generated.default FlowTraceDependencyEvent.Builder
traceElements
(Consumer<TraceElements.Builder> traceElements) The trace elements containing detailed information about the dependency.traceElements
(TraceElements traceElements) The trace elements containing detailed information about the dependency.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 Details
-
nodeName
The name of the node that generated the dependency trace.
- Parameters:
nodeName
- The name of the node that generated the dependency trace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestamp
The date and time that the dependency trace was generated.
- Parameters:
timestamp
- The date and time that the dependency trace was generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
traceElements
The trace elements containing detailed information about the dependency.
- Parameters:
traceElements
- The trace elements containing detailed information about the dependency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
traceElements
default FlowTraceDependencyEvent.Builder traceElements(Consumer<TraceElements.Builder> traceElements) The trace elements containing detailed information about the dependency.
This is a convenience method that creates an instance of theTraceElements.Builder
avoiding the need to create one manually viaTraceElements.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totraceElements(TraceElements)
.- Parameters:
traceElements
- a consumer that will call methods onTraceElements.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-