Struct aws_sdk_devopsguru::model::LogAnomalyClass
source · #[non_exhaustive]pub struct LogAnomalyClass { /* private fields */ }
Expand description
Information about an anomalous log event found within a log group.
Implementations§
source§impl LogAnomalyClass
impl LogAnomalyClass
sourcepub fn log_stream_name(&self) -> Option<&str>
pub fn log_stream_name(&self) -> Option<&str>
The name of the Amazon CloudWatch log stream that the anomalous log event belongs to. A log stream is a sequence of log events that share the same source.
sourcepub fn log_anomaly_type(&self) -> Option<&LogAnomalyType>
pub fn log_anomaly_type(&self) -> Option<&LogAnomalyType>
The type of log anomaly that has been detected.
sourcepub fn log_anomaly_token(&self) -> Option<&str>
pub fn log_anomaly_token(&self) -> Option<&str>
The token where the anomaly was detected. This may refer to an exception or another location, or it may be blank for log anomalies such as format anomalies.
sourcepub fn log_event_id(&self) -> Option<&str>
pub fn log_event_id(&self) -> Option<&str>
The ID of the log event.
sourcepub fn explanation(&self) -> Option<&str>
pub fn explanation(&self) -> Option<&str>
The explanation for why the log event is considered an anomaly.
sourcepub fn number_of_log_lines_occurrences(&self) -> i32
pub fn number_of_log_lines_occurrences(&self) -> i32
The number of log lines where this anomalous log event occurs.
sourcepub fn log_event_timestamp(&self) -> Option<&DateTime>
pub fn log_event_timestamp(&self) -> Option<&DateTime>
The time of the first occurrence of the anomalous log event.
source§impl LogAnomalyClass
impl LogAnomalyClass
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture LogAnomalyClass
.
Trait Implementations§
source§impl Clone for LogAnomalyClass
impl Clone for LogAnomalyClass
source§fn clone(&self) -> LogAnomalyClass
fn clone(&self) -> LogAnomalyClass
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LogAnomalyClass
impl Debug for LogAnomalyClass
source§impl PartialEq<LogAnomalyClass> for LogAnomalyClass
impl PartialEq<LogAnomalyClass> for LogAnomalyClass
source§fn eq(&self, other: &LogAnomalyClass) -> bool
fn eq(&self, other: &LogAnomalyClass) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.