Interface NodeDependencyEvent.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<NodeDependencyEvent.Builder,NodeDependencyEvent>,SdkBuilder<NodeDependencyEvent.Builder,NodeDependencyEvent>,SdkPojo
- Enclosing class:
- NodeDependencyEvent
@Mutable @NotThreadSafe public static interface NodeDependencyEvent.Builder extends SdkPojo, CopyableBuilder<NodeDependencyEvent.Builder,NodeDependencyEvent>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description NodeDependencyEvent.BuildernodeName(String nodeName)The name of the node that generated the dependency trace.NodeDependencyEvent.Buildertimestamp(Instant timestamp)The date and time that the dependency trace was generated.default NodeDependencyEvent.BuildertraceElements(Consumer<NodeTraceElements.Builder> traceElements)The trace elements containing detailed information about the node execution.NodeDependencyEvent.BuildertraceElements(NodeTraceElements traceElements)The trace elements containing detailed information about the node execution.-
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
-
nodeName
NodeDependencyEvent.Builder nodeName(String 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
NodeDependencyEvent.Builder timestamp(Instant 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
NodeDependencyEvent.Builder traceElements(NodeTraceElements traceElements)
The trace elements containing detailed information about the node execution.
- Parameters:
traceElements- The trace elements containing detailed information about the node execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
traceElements
default NodeDependencyEvent.Builder traceElements(Consumer<NodeTraceElements.Builder> traceElements)
The trace elements containing detailed information about the node execution.
This is a convenience method that creates an instance of theNodeTraceElements.Builderavoiding the need to create one manually viaNodeTraceElements.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totraceElements(NodeTraceElements).- Parameters:
traceElements- a consumer that will call methods onNodeTraceElements.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
traceElements(NodeTraceElements)
-
-