Package com.oracle.bmc.apmconfig.model
Class TestSpanEnrichmentDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.apmconfig.model.TestSpanEnrichmentDetails.Builder
-
- Enclosing class:
- TestSpanEnrichmentDetails
public static class TestSpanEnrichmentDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TestSpanEnrichmentDetailsbuild()TestSpanEnrichmentDetails.Buildercopy(TestSpanEnrichmentDetails model)TestSpanEnrichmentDetails.Builderfilters(List<FilterTextOrId> filters)A list of filters to try against the given span.TestSpanEnrichmentDetails.Builderoptions(Object options)The span enrichment rules to test in the format of an Options resource.TestSpanEnrichmentDetails.Builderspan(Object span)The span to test the rules on.
-
-
-
Method Detail
-
options
public TestSpanEnrichmentDetails.Builder options(Object options)
The span enrichment rules to test in the format of an Options resource.- Parameters:
options- the value to set- Returns:
- this builder
-
filters
public TestSpanEnrichmentDetails.Builder filters(List<FilterTextOrId> filters)
A list of filters to try against the given span.- Parameters:
filters- the value to set- Returns:
- this builder
-
span
public 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.
- Parameters:
span- the value to set- Returns:
- this builder
-
build
public TestSpanEnrichmentDetails build()
-
copy
public TestSpanEnrichmentDetails.Builder copy(TestSpanEnrichmentDetails model)
-
-