Interface TraceElements.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TraceElements.Builder,TraceElements>,SdkBuilder<TraceElements.Builder,TraceElements>,SdkPojo
- Enclosing class:
- TraceElements
@Mutable @NotThreadSafe public static interface TraceElements.Builder extends SdkPojo, CopyableBuilder<TraceElements.Builder,TraceElements>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TraceElements.BuilderagentTraces(Collection<TracePart> agentTraces)Agent trace information for the flow execution.TraceElements.BuilderagentTraces(Consumer<TracePart.Builder>... agentTraces)Agent trace information for the flow execution.TraceElements.BuilderagentTraces(TracePart... agentTraces)Agent trace information for the flow 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
TraceElements.Builder agentTraces(Collection<TracePart> agentTraces)
Agent trace information for the flow execution.
- Parameters:
agentTraces- Agent trace information for the flow execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentTraces
TraceElements.Builder agentTraces(TracePart... agentTraces)
Agent trace information for the flow execution.
- Parameters:
agentTraces- Agent trace information for the flow execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentTraces
TraceElements.Builder agentTraces(Consumer<TracePart.Builder>... agentTraces)
Agent trace information for the flow 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)
-
-