Struct aws_sdk_devopsguru::model::anomalous_log_group::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for AnomalousLogGroup
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn log_group_name(self, input: impl Into<String>) -> Self
pub fn log_group_name(self, input: impl Into<String>) -> Self
The name of the CloudWatch log group.
sourcepub fn set_log_group_name(self, input: Option<String>) -> Self
pub fn set_log_group_name(self, input: Option<String>) -> Self
The name of the CloudWatch log group.
sourcepub fn impact_start_time(self, input: DateTime) -> Self
pub fn impact_start_time(self, input: DateTime) -> Self
The time the anomalous log events began. The impact start time indicates the time of the first log anomaly event that occurs.
sourcepub fn set_impact_start_time(self, input: Option<DateTime>) -> Self
pub fn set_impact_start_time(self, input: Option<DateTime>) -> Self
The time the anomalous log events began. The impact start time indicates the time of the first log anomaly event that occurs.
sourcepub fn impact_end_time(self, input: DateTime) -> Self
pub fn impact_end_time(self, input: DateTime) -> Self
The time the anomalous log events stopped.
sourcepub fn set_impact_end_time(self, input: Option<DateTime>) -> Self
pub fn set_impact_end_time(self, input: Option<DateTime>) -> Self
The time the anomalous log events stopped.
sourcepub fn number_of_log_lines_scanned(self, input: i32) -> Self
pub fn number_of_log_lines_scanned(self, input: i32) -> Self
The number of log lines that were scanned for anomalous log events.
sourcepub fn set_number_of_log_lines_scanned(self, input: Option<i32>) -> Self
pub fn set_number_of_log_lines_scanned(self, input: Option<i32>) -> Self
The number of log lines that were scanned for anomalous log events.
sourcepub fn log_anomaly_showcases(self, input: LogAnomalyShowcase) -> Self
pub fn log_anomaly_showcases(self, input: LogAnomalyShowcase) -> Self
Appends an item to log_anomaly_showcases
.
To override the contents of this collection use set_log_anomaly_showcases
.
The log anomalies in the log group. Each log anomaly displayed represents a cluster of similar anomalous log events.
sourcepub fn set_log_anomaly_showcases(
self,
input: Option<Vec<LogAnomalyShowcase>>
) -> Self
pub fn set_log_anomaly_showcases(
self,
input: Option<Vec<LogAnomalyShowcase>>
) -> Self
The log anomalies in the log group. Each log anomaly displayed represents a cluster of similar anomalous log events.
sourcepub fn build(self) -> AnomalousLogGroup
pub fn build(self) -> AnomalousLogGroup
Consumes the builder and constructs a AnomalousLogGroup
.