Interface FailureSpanDetail.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FailureSpanDetail.Builder,,FailureSpanDetail> SdkBuilder<FailureSpanDetail.Builder,,FailureSpanDetail> SdkPojo
- Enclosing class:
FailureSpanDetail
@Mutable
@NotThreadSafe
public static interface FailureSpanDetail.Builder
extends SdkPojo, CopyableBuilder<FailureSpanDetail.Builder,FailureSpanDetail>
-
Method Summary
Modifier and TypeMethodDescriptionsignals(Collection<InsightsFailureSignal> signals) The failure signals detected in this span.signals(Consumer<InsightsFailureSignal.Builder>... signals) The failure signals detected in this span.signals(InsightsFailureSignal... signals) The failure signals detected in this span.The unique identifier of the span where the failure occurred.The trace identifier associated with the failure span.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
-
spanId
The unique identifier of the span where the failure occurred.
- Parameters:
spanId- The unique identifier of the span where the failure occurred.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
traceId
The trace identifier associated with the failure span.
- Parameters:
traceId- The trace identifier associated with the failure span.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signals
The failure signals detected in this span.
- Parameters:
signals- The failure signals detected in this span.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signals
The failure signals detected in this span.
- Parameters:
signals- The failure signals detected in this span.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signals
The failure signals detected in this span.
This is a convenience method that creates an instance of theInsightsFailureSignal.Builderavoiding the need to create one manually viaInsightsFailureSignal.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosignals(List<InsightsFailureSignal>).- Parameters:
signals- a consumer that will call methods onInsightsFailureSignal.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-