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
Modifier and TypeMethodDescriptionThe name of the node that generated the dependency trace.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.traceElements(NodeTraceElements traceElements) The trace elements containing detailed information about the node execution.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
-
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 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:
-