#[non_exhaustive]pub struct RecommendationRelatedAnomaly { /* private fields */ }
Expand description
Information about an anomaly that is related to a 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
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 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
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RecommendationRelatedAnomaly
Auto Trait Implementations§
impl RefUnwindSafe for RecommendationRelatedAnomaly
impl Send for RecommendationRelatedAnomaly
impl Sync for RecommendationRelatedAnomaly
impl Unpin for RecommendationRelatedAnomaly
impl UnwindSafe for RecommendationRelatedAnomaly
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more