#[non_exhaustive]pub struct RecommendationRelatedAnomaly {
pub resources: Option<Vec<RecommendationRelatedAnomalyResource>>,
pub source_details: Option<Vec<RecommendationRelatedAnomalySourceDetail>>,
pub anomaly_id: Option<String>,
}
Expand description
Information about an anomaly that is related to a recommendation.
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.resources: Option<Vec<RecommendationRelatedAnomalyResource>>
An array of objects that represent resources in which DevOps Guru detected anomalous behavior. Each object contains the name and type of the resource.
source_details: Option<Vec<RecommendationRelatedAnomalySourceDetail>>
Information about where the anomalous behavior related the recommendation was found. For example, details in Amazon CloudWatch metrics.
anomaly_id: Option<String>
The ID of an anomaly that generated the insight with this recommendation.
Implementations§
source§impl RecommendationRelatedAnomaly
impl RecommendationRelatedAnomaly
sourcepub fn resources(&self) -> Option<&[RecommendationRelatedAnomalyResource]>
pub fn resources(&self) -> Option<&[RecommendationRelatedAnomalyResource]>
An array of objects that represent resources in which DevOps Guru detected anomalous behavior. Each object contains the name and type of the resource.
sourcepub fn source_details(
&self
) -> Option<&[RecommendationRelatedAnomalySourceDetail]>
pub fn source_details( &self ) -> Option<&[RecommendationRelatedAnomalySourceDetail]>
Information about where the anomalous behavior related the recommendation was found. For example, details in Amazon CloudWatch metrics.
sourcepub fn anomaly_id(&self) -> Option<&str>
pub fn anomaly_id(&self) -> Option<&str>
The ID of an anomaly that generated the insight with this recommendation.
source§impl RecommendationRelatedAnomaly
impl RecommendationRelatedAnomaly
sourcepub fn builder() -> RecommendationRelatedAnomalyBuilder
pub fn builder() -> RecommendationRelatedAnomalyBuilder
Creates a new builder-style object to manufacture RecommendationRelatedAnomaly
.
Trait Implementations§
source§impl Clone for RecommendationRelatedAnomaly
impl Clone for RecommendationRelatedAnomaly
source§fn clone(&self) -> RecommendationRelatedAnomaly
fn clone(&self) -> RecommendationRelatedAnomaly
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RecommendationRelatedAnomaly
impl Debug for RecommendationRelatedAnomaly
source§impl PartialEq<RecommendationRelatedAnomaly> for RecommendationRelatedAnomaly
impl PartialEq<RecommendationRelatedAnomaly> for RecommendationRelatedAnomaly
source§fn eq(&self, other: &RecommendationRelatedAnomaly) -> bool
fn eq(&self, other: &RecommendationRelatedAnomaly) -> bool
self
and other
values to be equal, and is used
by ==
.