Interface NodeTraceElements.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<NodeTraceElements.Builder,NodeTraceElements>,SdkBuilder<NodeTraceElements.Builder,NodeTraceElements>,SdkPojo
- Enclosing class:
- NodeTraceElements
@Mutable @NotThreadSafe public static interface NodeTraceElements.Builder extends SdkPojo, CopyableBuilder<NodeTraceElements.Builder,NodeTraceElements>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NodeTraceElements.BuilderagentTraces(Collection<TracePart> agentTraces)Agent trace information for the node execution.NodeTraceElements.BuilderagentTraces(Consumer<TracePart.Builder>... agentTraces)Agent trace information for the node execution.NodeTraceElements.BuilderagentTraces(TracePart... agentTraces)Agent trace information for 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
-
agentTraces
NodeTraceElements.Builder agentTraces(Collection<TracePart> agentTraces)
Agent trace information for the node execution.
- Parameters:
agentTraces- Agent trace information for the node execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentTraces
NodeTraceElements.Builder agentTraces(TracePart... agentTraces)
Agent trace information for the node execution.
- Parameters:
agentTraces- Agent trace information for the node execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentTraces
NodeTraceElements.Builder agentTraces(Consumer<TracePart.Builder>... agentTraces)
Agent trace information for the node execution.
This is a convenience method that creates an instance of theTracePart.Builderavoiding the need to create one manually viaTracePart.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#agentTraces(List.) - Parameters:
agentTraces- a consumer that will call methods onTracePart.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#agentTraces(java.util.Collection)
-
-