Struct aws_sdk_devopsguru::model::anomaly_source_details::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for AnomalySourceDetails
.
Implementations§
source§impl Builder
impl Builder
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 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 build(self) -> AnomalySourceDetails
pub fn build(self) -> AnomalySourceDetails
Consumes the builder and constructs a AnomalySourceDetails
.