Struct aws_sdk_codeguruprofiler::types::AnomalyInstance
source · #[non_exhaustive]pub struct AnomalyInstance {
pub id: Option<String>,
pub start_time: Option<DateTime>,
pub end_time: Option<DateTime>,
pub user_feedback: Option<UserFeedback>,
}Expand description
The specific duration in which the metric is flagged as anomalous.
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.id: Option<String>The universally unique identifier (UUID) of an instance of an anomaly in a metric.
start_time: 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.
end_time: 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.
user_feedback: Option<UserFeedback>Feedback type on a specific instance of anomaly submitted by the user.
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
self and other values to be equal, and is used
by ==.