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
Modifier and TypeMethodDescriptionagentTraces(Collection<TracePart> agentTraces) Agent trace information for the flow execution.agentTraces(Consumer<TracePart.Builder>... agentTraces) Agent trace information for the flow execution.agentTraces(TracePart... agentTraces) Agent trace information for the flow 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
-
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
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
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 toagentTraces(List<TracePart>).- 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:
-