Struct aws_sdk_devopsguru::model::LogAnomalyClass
source · [−]#[non_exhaustive]pub struct LogAnomalyClass {
pub log_stream_name: Option<String>,
pub log_anomaly_type: Option<LogAnomalyType>,
pub log_anomaly_token: Option<String>,
pub log_event_id: Option<String>,
pub explanation: Option<String>,
pub number_of_log_lines_occurrences: i32,
pub log_event_timestamp: Option<DateTime>,
}
Expand description
Information about an anomalous log event found within a log group.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.log_stream_name: Option<String>
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.
log_anomaly_type: Option<LogAnomalyType>
The type of log anomaly that has been detected.
log_anomaly_token: Option<String>
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.
log_event_id: Option<String>
The ID of the log event.
explanation: Option<String>
The explanation for why the log event is considered an anomaly.
number_of_log_lines_occurrences: i32
The number of log lines where this anomalous log event occurs.
log_event_timestamp: Option<DateTime>
The time of the first occurrence of the anomalous log event.
Implementations
sourceimpl 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.
sourceimpl LogAnomalyClass
impl LogAnomalyClass
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture LogAnomalyClass
.
Trait Implementations
sourceimpl Clone for LogAnomalyClass
impl Clone for LogAnomalyClass
sourcefn clone(&self) -> LogAnomalyClass
fn clone(&self) -> LogAnomalyClass
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for LogAnomalyClass
impl Debug for LogAnomalyClass
sourceimpl PartialEq<LogAnomalyClass> for LogAnomalyClass
impl PartialEq<LogAnomalyClass> for LogAnomalyClass
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &LogAnomalyClass) -> bool
fn ne(&self, other: &LogAnomalyClass) -> bool
This method tests for !=
.
impl StructuralPartialEq for LogAnomalyClass
Auto Trait Implementations
impl RefUnwindSafe for LogAnomalyClass
impl Send for LogAnomalyClass
impl Sync for LogAnomalyClass
impl Unpin for LogAnomalyClass
impl UnwindSafe for LogAnomalyClass
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more