pub struct Builder { /* private fields */ }
Expand description
A builder for ProactiveAnomalySummary
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn severity(self, input: AnomalySeverity) -> Self
pub fn severity(self, input: AnomalySeverity) -> Self
The severity of the anomaly. The severity of anomalies that generate an insight determine that insight's severity. For more information, see Understanding insight severities in the Amazon DevOps Guru User Guide.
sourcepub fn set_severity(self, input: Option<AnomalySeverity>) -> Self
pub fn set_severity(self, input: Option<AnomalySeverity>) -> Self
The severity of the anomaly. The severity of anomalies that generate an insight determine that insight's severity. For more information, see Understanding insight severities in the Amazon DevOps Guru User Guide.
sourcepub fn status(self, input: AnomalyStatus) -> Self
pub fn status(self, input: AnomalyStatus) -> Self
The status of the anomaly.
sourcepub fn set_status(self, input: Option<AnomalyStatus>) -> Self
pub fn set_status(self, input: Option<AnomalyStatus>) -> Self
The status of the anomaly.
sourcepub fn update_time(self, input: DateTime) -> Self
pub fn update_time(self, input: DateTime) -> Self
The time of the anomaly's most recent update.
sourcepub fn set_update_time(self, input: Option<DateTime>) -> Self
pub fn set_update_time(self, input: Option<DateTime>) -> Self
The time of the anomaly's most recent update.
sourcepub fn anomaly_time_range(self, input: AnomalyTimeRange) -> Self
pub fn anomaly_time_range(self, input: AnomalyTimeRange) -> Self
A time range that specifies when the observed unusual behavior in an anomaly started and ended. This is different from AnomalyReportedTimeRange
, which specifies the time range when DevOps Guru opens and then closes an anomaly.
sourcepub fn set_anomaly_time_range(self, input: Option<AnomalyTimeRange>) -> Self
pub fn set_anomaly_time_range(self, input: Option<AnomalyTimeRange>) -> Self
A time range that specifies when the observed unusual behavior in an anomaly started and ended. This is different from AnomalyReportedTimeRange
, which specifies the time range when DevOps Guru opens and then closes an anomaly.
sourcepub fn anomaly_reported_time_range(self, input: AnomalyReportedTimeRange) -> Self
pub fn anomaly_reported_time_range(self, input: AnomalyReportedTimeRange) -> Self
An AnomalyReportedTimeRange
object that specifies the time range between when the anomaly is opened and the time when it is closed.
sourcepub fn set_anomaly_reported_time_range(
self,
input: Option<AnomalyReportedTimeRange>
) -> Self
pub fn set_anomaly_reported_time_range(
self,
input: Option<AnomalyReportedTimeRange>
) -> Self
An AnomalyReportedTimeRange
object that specifies the time range between when the anomaly is opened and the time when it is closed.
sourcepub fn prediction_time_range(self, input: PredictionTimeRange) -> Self
pub fn prediction_time_range(self, input: PredictionTimeRange) -> Self
The time range during which anomalous behavior in a proactive anomaly or an insight is expected to occur.
sourcepub fn set_prediction_time_range(
self,
input: Option<PredictionTimeRange>
) -> Self
pub fn set_prediction_time_range(
self,
input: Option<PredictionTimeRange>
) -> Self
The time range during which anomalous behavior in a proactive anomaly or an insight is expected to occur.
sourcepub fn source_details(self, input: AnomalySourceDetails) -> Self
pub fn source_details(self, input: AnomalySourceDetails) -> Self
Details about the source of the analyzed operational data that triggered the anomaly. The one supported source is Amazon CloudWatch metrics.
sourcepub fn set_source_details(self, input: Option<AnomalySourceDetails>) -> Self
pub fn set_source_details(self, input: Option<AnomalySourceDetails>) -> Self
Details about the source of the analyzed operational data that triggered the anomaly. The one supported source is Amazon CloudWatch metrics.
sourcepub fn associated_insight_id(self, input: impl Into<String>) -> Self
pub fn associated_insight_id(self, input: impl Into<String>) -> Self
The ID of the insight that contains this anomaly. An insight is composed of related anomalies.
sourcepub fn set_associated_insight_id(self, input: Option<String>) -> Self
pub fn set_associated_insight_id(self, input: Option<String>) -> Self
The ID of the insight that contains this anomaly. An insight is composed of related anomalies.
sourcepub fn resource_collection(self, input: ResourceCollection) -> Self
pub fn resource_collection(self, input: ResourceCollection) -> Self
A collection of Amazon Web Services resources supported by DevOps Guru. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks.
sourcepub fn set_resource_collection(self, input: Option<ResourceCollection>) -> Self
pub fn set_resource_collection(self, input: Option<ResourceCollection>) -> Self
A collection of Amazon Web Services resources supported by DevOps Guru. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks.
sourcepub fn limit(self, input: f64) -> Self
pub fn limit(self, input: f64) -> Self
A threshold that was exceeded by behavior in analyzed resources. Exceeding this threshold is related to the anomalous behavior that generated this anomaly.
sourcepub fn set_limit(self, input: Option<f64>) -> Self
pub fn set_limit(self, input: Option<f64>) -> Self
A threshold that was exceeded by behavior in analyzed resources. Exceeding this threshold is related to the anomalous behavior that generated this anomaly.
sourcepub fn source_metadata(self, input: AnomalySourceMetadata) -> Self
pub fn source_metadata(self, input: AnomalySourceMetadata) -> Self
The metadata of the source which detects proactive anomalies.
sourcepub fn set_source_metadata(self, input: Option<AnomalySourceMetadata>) -> Self
pub fn set_source_metadata(self, input: Option<AnomalySourceMetadata>) -> Self
The metadata of the source which detects proactive anomalies.
sourcepub fn anomaly_resources(self, input: AnomalyResource) -> Self
pub fn anomaly_resources(self, input: AnomalyResource) -> Self
Appends an item to anomaly_resources
.
To override the contents of this collection use set_anomaly_resources
.
Information about a resource in which DevOps Guru detected anomalous behavior.
sourcepub fn set_anomaly_resources(self, input: Option<Vec<AnomalyResource>>) -> Self
pub fn set_anomaly_resources(self, input: Option<Vec<AnomalyResource>>) -> Self
Information about a resource in which DevOps Guru detected anomalous behavior.
sourcepub fn build(self) -> ProactiveAnomalySummary
pub fn build(self) -> ProactiveAnomalySummary
Consumes the builder and constructs a ProactiveAnomalySummary
.