Interface Anomaly.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Anomaly.Builder,,Anomaly> SdkBuilder<Anomaly.Builder,,Anomaly> SdkPojo
- Enclosing class:
Anomaly
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the anomaly episode.anomalyType(String anomalyType) The analyzer-specific classification of what kind of anomaly this is.cloudProvider(String cloudProvider) Cloud provider from the topology node identity (e.g.description(String description) A human-readable description of the detected behavior.Arbitrary key-value details.evidenceSamples(Collection<Evidence> evidenceSamples) Up to 100 timestamped per-occurrence samples.evidenceSamples(Consumer<Evidence.Builder>... evidenceSamples) Up to 100 timestamped per-occurrence samples.evidenceSamples(Evidence... evidenceSamples) Up to 100 timestamped per-occurrence samples.firstSeenAt(Instant firstSeenAt) Timestamp of the first occurrence in this episode, serialized as epoch seconds.lastSeenAt(Instant lastSeenAt) Timestamp of the most recent occurrence in this episode, serialized as epoch seconds.Topology graph node ID resolved at write time.Whether the node is a service, a resource, or a remote service.Whether the node is a service, a resource, or a remote service.occurrenceCount(Integer occurrenceCount) Total occurrences merged into this anomaly episode.The monitored service the anomaly was detected on.The severity of the anomaly as most recently evaluated.The severity of the anomaly as most recently evaluated.signalType(String signalType) The kind of telemetry signal the anomaly was detected in.signalType(AnomalySignalType signalType) The kind of telemetry signal the anomaly was detected in.sourceAccountId(String sourceAccountId) Account that produced the signal (may differ from owner for centralized monitoring).sourceRegion(String sourceRegion) Region where the source signal was produced.Short human-readable label assigned by the analyzer.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
-
anomalyId
The unique identifier of the anomaly episode.
- Parameters:
anomalyId- The unique identifier of the anomaly episode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
service
The monitored service the anomaly was detected on.
- Parameters:
service- The monitored service the anomaly was detected on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signalType
The kind of telemetry signal the anomaly was detected in.
- Parameters:
signalType- The kind of telemetry signal the anomaly was detected in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
signalType
The kind of telemetry signal the anomaly was detected in.
- Parameters:
signalType- The kind of telemetry signal the anomaly was detected in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
anomalyType
The analyzer-specific classification of what kind of anomaly this is.
- Parameters:
anomalyType- The analyzer-specific classification of what kind of anomaly this is.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severity
The severity of the anomaly as most recently evaluated.
- Parameters:
severity- The severity of the anomaly as most recently evaluated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
severity
The severity of the anomaly as most recently evaluated.
- Parameters:
severity- The severity of the anomaly as most recently evaluated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
A human-readable description of the detected behavior. Sensitive customer content.
- Parameters:
description- A human-readable description of the detected behavior. Sensitive customer content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastSeenAt
Timestamp of the most recent occurrence in this episode, serialized as epoch seconds.
- Parameters:
lastSeenAt- Timestamp of the most recent occurrence in this episode, serialized as epoch seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
firstSeenAt
Timestamp of the first occurrence in this episode, serialized as epoch seconds.
- Parameters:
firstSeenAt- Timestamp of the first occurrence in this episode, serialized as epoch seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
details
Arbitrary key-value details. Nested values are flattened to strings. Sensitive customer content.
- Parameters:
details- Arbitrary key-value details. Nested values are flattened to strings. Sensitive customer content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
Short human-readable label assigned by the analyzer. Sensitive customer content.
- Parameters:
title- Short human-readable label assigned by the analyzer. Sensitive customer content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
occurrenceCount
Total occurrences merged into this anomaly episode.
- Parameters:
occurrenceCount- Total occurrences merged into this anomaly episode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceAccountId
Account that produced the signal (may differ from owner for centralized monitoring).
- Parameters:
sourceAccountId- Account that produced the signal (may differ from owner for centralized monitoring).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceRegion
Region where the source signal was produced.
- Parameters:
sourceRegion- Region where the source signal was produced.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeId
Topology graph node ID resolved at write time. Absent when the topology resolver could not match the service to a graph node.
- Parameters:
nodeId- Topology graph node ID resolved at write time. Absent when the topology resolver could not match the service to a graph node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeType
Whether the node is a service, a resource, or a remote service.
- Parameters:
nodeType- Whether the node is a service, a resource, or a remote service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nodeType
Whether the node is a service, a resource, or a remote service.
- Parameters:
nodeType- Whether the node is a service, a resource, or a remote service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
cloudProvider
Cloud provider from the topology node identity (e.g. "aws", "azure").
- Parameters:
cloudProvider- Cloud provider from the topology node identity (e.g. "aws", "azure").- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evidenceSamples
Up to 100 timestamped per-occurrence samples.
- Parameters:
evidenceSamples- Up to 100 timestamped per-occurrence samples.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evidenceSamples
Up to 100 timestamped per-occurrence samples.
- Parameters:
evidenceSamples- Up to 100 timestamped per-occurrence samples.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evidenceSamples
Up to 100 timestamped per-occurrence samples.
This is a convenience method that creates an instance of theEvidence.Builderavoiding the need to create one manually viaEvidence.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toevidenceSamples(List<Evidence>).- Parameters:
evidenceSamples- a consumer that will call methods onEvidence.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-