public static class TestSpanEnrichmentDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TestSpanEnrichmentDetails |
build() |
TestSpanEnrichmentDetails.Builder |
copy(TestSpanEnrichmentDetails model) |
TestSpanEnrichmentDetails.Builder |
filters(List<FilterTextOrId> filters)
A list of filters to try against the given span.
|
TestSpanEnrichmentDetails.Builder |
options(Object options)
The span enrichment rules to test in the format of an Options resource.
|
TestSpanEnrichmentDetails.Builder |
span(Object span)
The span to test the rules on.
|
public TestSpanEnrichmentDetails.Builder options(Object options)
The span enrichment rules to test in the format of an Options resource.
options
- the value to setpublic TestSpanEnrichmentDetails.Builder filters(List<FilterTextOrId> filters)
A list of filters to try against the given span.
filters
- the value to setpublic TestSpanEnrichmentDetails.Builder span(Object span)
The span to test the rules on. This should be a valid JSON object that follows one of the formats used by distributed tracing frameworks, such as OpenTelemetry, Zipkin, or Oracle Application Performance Monitoring.
span
- the value to setpublic TestSpanEnrichmentDetails build()
public TestSpanEnrichmentDetails.Builder copy(TestSpanEnrichmentDetails model)
Copyright © 2016–2024. All rights reserved.