Struct aws_sdk_devopsguru::types::Recommendation
source · #[non_exhaustive]pub struct Recommendation {
pub description: Option<String>,
pub link: Option<String>,
pub name: Option<String>,
pub reason: Option<String>,
pub related_events: Option<Vec<RecommendationRelatedEvent>>,
pub related_anomalies: Option<Vec<RecommendationRelatedAnomaly>>,
pub category: Option<String>,
}
Expand description
Recommendation information to help you remediate detected anomalous behavior that generated an insight.
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.description: Option<String>
A description of the problem.
link: Option<String>
A hyperlink to information to help you address the problem.
name: Option<String>
The name of the recommendation.
reason: Option<String>
The reason DevOps Guru flagged the anomalous behavior as a problem.
Events that are related to the problem. Use these events to learn more about what's happening and to help address the issue.
Anomalies that are related to the problem. Use these Anomalies to learn more about what's happening and to help address the issue.
category: Option<String>
The category type of the recommendation.
Implementations§
source§impl Recommendation
impl Recommendation
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the problem.
sourcepub fn reason(&self) -> Option<&str>
pub fn reason(&self) -> Option<&str>
The reason DevOps Guru flagged the anomalous behavior as a problem.
Events that are related to the problem. Use these events to learn more about what's happening and to help address the issue.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .related_events.is_none()
.
Anomalies that are related to the problem. Use these Anomalies to learn more about what's happening and to help address the issue.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .related_anomalies.is_none()
.
source§impl Recommendation
impl Recommendation
sourcepub fn builder() -> RecommendationBuilder
pub fn builder() -> RecommendationBuilder
Creates a new builder-style object to manufacture Recommendation
.
Trait Implementations§
source§impl Clone for Recommendation
impl Clone for Recommendation
source§fn clone(&self) -> Recommendation
fn clone(&self) -> Recommendation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Recommendation
impl Debug for Recommendation
source§impl PartialEq for Recommendation
impl PartialEq for Recommendation
source§fn eq(&self, other: &Recommendation) -> bool
fn eq(&self, other: &Recommendation) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Recommendation
Auto Trait Implementations§
impl Freeze for Recommendation
impl RefUnwindSafe for Recommendation
impl Send for Recommendation
impl Sync for Recommendation
impl Unpin for Recommendation
impl UnwindSafe for Recommendation
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more