Struct aws_sdk_codeguruprofiler::types::AnomalyInstance
source · #[non_exhaustive]pub struct AnomalyInstance { /* private fields */ }
Expand description
The specific duration in which the metric is flagged as anomalous.
Implementations§
source§impl AnomalyInstance
impl AnomalyInstance
sourcepub fn id(&self) -> Option<&str>
pub fn id(&self) -> Option<&str>
The universally unique identifier (UUID) of an instance of an anomaly in a metric.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
The start time of the period during which the metric is flagged as anomalous. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
sourcepub fn end_time(&self) -> Option<&DateTime>
pub fn end_time(&self) -> Option<&DateTime>
The end time of the period during which the metric is flagged as anomalous. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
sourcepub fn user_feedback(&self) -> Option<&UserFeedback>
pub fn user_feedback(&self) -> Option<&UserFeedback>
Feedback type on a specific instance of anomaly submitted by the user.
source§impl AnomalyInstance
impl AnomalyInstance
sourcepub fn builder() -> AnomalyInstanceBuilder
pub fn builder() -> AnomalyInstanceBuilder
Creates a new builder-style object to manufacture AnomalyInstance
.
Trait Implementations§
source§impl Clone for AnomalyInstance
impl Clone for AnomalyInstance
source§fn clone(&self) -> AnomalyInstance
fn clone(&self) -> AnomalyInstance
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 AnomalyInstance
impl Debug for AnomalyInstance
source§impl PartialEq<AnomalyInstance> for AnomalyInstance
impl PartialEq<AnomalyInstance> for AnomalyInstance
source§fn eq(&self, other: &AnomalyInstance) -> bool
fn eq(&self, other: &AnomalyInstance) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.