#[non_exhaustive]pub struct AnomalySourceDetailsBuilder { /* private fields */ }
Expand description
A builder for AnomalySourceDetails
.
Implementations§
source§impl AnomalySourceDetailsBuilder
impl AnomalySourceDetailsBuilder
sourcepub fn cloud_watch_metrics(self, input: CloudWatchMetricsDetail) -> Self
pub fn cloud_watch_metrics(self, input: CloudWatchMetricsDetail) -> Self
Appends an item to cloud_watch_metrics
.
To override the contents of this collection use set_cloud_watch_metrics
.
An array of CloudWatchMetricsDetail
objects that contain information about analyzed CloudWatch metrics that show anomalous behavior.
sourcepub fn set_cloud_watch_metrics(
self,
input: Option<Vec<CloudWatchMetricsDetail>>
) -> Self
pub fn set_cloud_watch_metrics( self, input: Option<Vec<CloudWatchMetricsDetail>> ) -> Self
An array of CloudWatchMetricsDetail
objects that contain information about analyzed CloudWatch metrics that show anomalous behavior.
sourcepub fn get_cloud_watch_metrics(&self) -> &Option<Vec<CloudWatchMetricsDetail>>
pub fn get_cloud_watch_metrics(&self) -> &Option<Vec<CloudWatchMetricsDetail>>
An array of CloudWatchMetricsDetail
objects that contain information about analyzed CloudWatch metrics that show anomalous behavior.
sourcepub fn performance_insights_metrics(
self,
input: PerformanceInsightsMetricsDetail
) -> Self
pub fn performance_insights_metrics( self, input: PerformanceInsightsMetricsDetail ) -> Self
Appends an item to performance_insights_metrics
.
To override the contents of this collection use set_performance_insights_metrics
.
An array of PerformanceInsightsMetricsDetail
objects that contain information about analyzed Performance Insights metrics that show anomalous behavior.
sourcepub fn set_performance_insights_metrics(
self,
input: Option<Vec<PerformanceInsightsMetricsDetail>>
) -> Self
pub fn set_performance_insights_metrics( self, input: Option<Vec<PerformanceInsightsMetricsDetail>> ) -> Self
An array of PerformanceInsightsMetricsDetail
objects that contain information about analyzed Performance Insights metrics that show anomalous behavior.
sourcepub fn get_performance_insights_metrics(
&self
) -> &Option<Vec<PerformanceInsightsMetricsDetail>>
pub fn get_performance_insights_metrics( &self ) -> &Option<Vec<PerformanceInsightsMetricsDetail>>
An array of PerformanceInsightsMetricsDetail
objects that contain information about analyzed Performance Insights metrics that show anomalous behavior.
sourcepub fn build(self) -> AnomalySourceDetails
pub fn build(self) -> AnomalySourceDetails
Consumes the builder and constructs a AnomalySourceDetails
.
Trait Implementations§
source§impl Clone for AnomalySourceDetailsBuilder
impl Clone for AnomalySourceDetailsBuilder
source§fn clone(&self) -> AnomalySourceDetailsBuilder
fn clone(&self) -> AnomalySourceDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AnomalySourceDetailsBuilder
impl Debug for AnomalySourceDetailsBuilder
source§impl Default for AnomalySourceDetailsBuilder
impl Default for AnomalySourceDetailsBuilder
source§fn default() -> AnomalySourceDetailsBuilder
fn default() -> AnomalySourceDetailsBuilder
source§impl PartialEq for AnomalySourceDetailsBuilder
impl PartialEq for AnomalySourceDetailsBuilder
source§fn eq(&self, other: &AnomalySourceDetailsBuilder) -> bool
fn eq(&self, other: &AnomalySourceDetailsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AnomalySourceDetailsBuilder
Auto Trait Implementations§
impl Freeze for AnomalySourceDetailsBuilder
impl RefUnwindSafe for AnomalySourceDetailsBuilder
impl Send for AnomalySourceDetailsBuilder
impl Sync for AnomalySourceDetailsBuilder
impl Unpin for AnomalySourceDetailsBuilder
impl UnwindSafe for AnomalySourceDetailsBuilder
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