Interface Evidence.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Evidence.Builder,,Evidence> SdkBuilder<Evidence.Builder,,Evidence> SdkPojo
- Enclosing class:
Evidence
-
Method Summary
Modifier and TypeMethodDescriptionThe rule that raised this occurrence.End of the window these figures cover.default Evidence.Buildermeasurement(Consumer<EvidenceMeasurement.Builder> measurement) What was measured in this window and how it compared to expectation.measurement(EvidenceMeasurement measurement) What was measured in this window and how it compared to expectation.omittedContributors(Integer omittedContributors) Contributors with excess beyond those listed in topContributors.sampledFraction(Double sampledFraction) The trace sampling rate: the share of the service's calls that its raw spans kept, measured over the last hour against a view that counts every call.default Evidence.BuildersignalDetails(Consumer<EvidenceDetails.Builder> signalDetails) Fields specific to the signal type.signalDetails(EvidenceDetails signalDetails) Fields specific to the signal type.What the figures were computed from.Start of the window these figures cover.telemetrySamples(Collection<TelemetrySample> telemetrySamples) Telemetry recorded in this window.telemetrySamples(Consumer<TelemetrySample.Builder>... telemetrySamples) Telemetry recorded in this window.telemetrySamples(TelemetrySample... telemetrySamples) Telemetry recorded in this window.topContributors(Collection<TopContributor> topContributors) What accounted for the anomalous excess, by dimension.topContributors(Consumer<TopContributor.Builder>... topContributors) What accounted for the anomalous excess, by dimension.topContributors(TopContributor... topContributors) What accounted for the anomalous excess, by dimension.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
-
startedAt
Start of the window these figures cover.
- Parameters:
startedAt- Start of the window these figures cover.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endedAt
End of the window these figures cover.
- Parameters:
endedAt- End of the window these figures cover.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
measurement
What was measured in this window and how it compared to expectation.
- Parameters:
measurement- What was measured in this window and how it compared to expectation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
measurement
What was measured in this window and how it compared to expectation.
This is a convenience method that creates an instance of theEvidenceMeasurement.Builderavoiding the need to create one manually viaEvidenceMeasurement.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomeasurement(EvidenceMeasurement).- Parameters:
measurement- a consumer that will call methods onEvidenceMeasurement.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
detector
The rule that raised this occurrence. May differ between occurrences in the same episode.
- Parameters:
detector- The rule that raised this occurrence. May differ between occurrences in the same episode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
What the figures were computed from.
- Parameters:
source- What the figures were computed from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampledFraction
The trace sampling rate: the share of the service's calls that its raw spans kept, measured over the last hour against a view that counts every call. When
sourceis "raw", this is the lowest share measured against any of the service's views. Whensourcenames a view, it is the share measured against that view. Absent when the view it is measured against (for raw evidence, every view of the service) counted too few calls in the last hour. Present only on trace evidence.- Parameters:
sampledFraction- The trace sampling rate: the share of the service's calls that its raw spans kept, measured over the last hour against a view that counts every call. Whensourceis "raw", this is the lowest share measured against any of the service's views. Whensourcenames a view, it is the share measured against that view. Absent when the view it is measured against (for raw evidence, every view of the service) counted too few calls in the last hour. Present only on trace evidence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topContributors
What accounted for the anomalous excess, by dimension.
- Parameters:
topContributors- What accounted for the anomalous excess, by dimension.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topContributors
What accounted for the anomalous excess, by dimension.
- Parameters:
topContributors- What accounted for the anomalous excess, by dimension.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topContributors
What accounted for the anomalous excess, by dimension.
This is a convenience method that creates an instance of theTopContributor.Builderavoiding the need to create one manually viaTopContributor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totopContributors(List<TopContributor>).- Parameters:
topContributors- a consumer that will call methods onTopContributor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
omittedContributors
Contributors with excess beyond those listed in topContributors.
- Parameters:
omittedContributors- Contributors with excess beyond those listed in topContributors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
telemetrySamples
Telemetry recorded in this window. May be absent on older occurrences even when the signal type produces samples, because the total retained per anomaly is bounded and the most recent occurrences are kept.
- Parameters:
telemetrySamples- Telemetry recorded in this window. May be absent on older occurrences even when the signal type produces samples, because the total retained per anomaly is bounded and the most recent occurrences are kept.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
telemetrySamples
Telemetry recorded in this window. May be absent on older occurrences even when the signal type produces samples, because the total retained per anomaly is bounded and the most recent occurrences are kept.
- Parameters:
telemetrySamples- Telemetry recorded in this window. May be absent on older occurrences even when the signal type produces samples, because the total retained per anomaly is bounded and the most recent occurrences are kept.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
telemetrySamples
Telemetry recorded in this window. May be absent on older occurrences even when the signal type produces samples, because the total retained per anomaly is bounded and the most recent occurrences are kept.
This is a convenience method that creates an instance of theTelemetrySample.Builderavoiding the need to create one manually viaTelemetrySample.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totelemetrySamples(List<TelemetrySample>).- Parameters:
telemetrySamples- a consumer that will call methods onTelemetrySample.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
signalDetails
Fields specific to the signal type.
- Parameters:
signalDetails- Fields specific to the signal type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signalDetails
Fields specific to the signal type.
This is a convenience method that creates an instance of theEvidenceDetails.Builderavoiding the need to create one manually viaEvidenceDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosignalDetails(EvidenceDetails).- Parameters:
signalDetails- a consumer that will call methods onEvidenceDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-