#[non_exhaustive]pub struct AnomalousLogGroupBuilder { /* private fields */ }
Expand description
A builder for AnomalousLogGroup
.
Implementations§
source§impl AnomalousLogGroupBuilder
impl AnomalousLogGroupBuilder
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 get_log_group_name(&self) -> &Option<String>
pub fn get_log_group_name(&self) -> &Option<String>
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 get_impact_start_time(&self) -> &Option<DateTime>
pub fn get_impact_start_time(&self) -> &Option<DateTime>
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 get_impact_end_time(&self) -> &Option<DateTime>
pub fn get_impact_end_time(&self) -> &Option<DateTime>
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 get_number_of_log_lines_scanned(&self) -> &Option<i32>
pub fn get_number_of_log_lines_scanned(&self) -> &Option<i32>
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 get_log_anomaly_showcases(&self) -> &Option<Vec<LogAnomalyShowcase>>
pub fn get_log_anomaly_showcases(&self) -> &Option<Vec<LogAnomalyShowcase>>
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
.
Trait Implementations§
source§impl Clone for AnomalousLogGroupBuilder
impl Clone for AnomalousLogGroupBuilder
source§fn clone(&self) -> AnomalousLogGroupBuilder
fn clone(&self) -> AnomalousLogGroupBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AnomalousLogGroupBuilder
impl Debug for AnomalousLogGroupBuilder
source§impl Default for AnomalousLogGroupBuilder
impl Default for AnomalousLogGroupBuilder
source§fn default() -> AnomalousLogGroupBuilder
fn default() -> AnomalousLogGroupBuilder
source§impl PartialEq for AnomalousLogGroupBuilder
impl PartialEq for AnomalousLogGroupBuilder
source§fn eq(&self, other: &AnomalousLogGroupBuilder) -> bool
fn eq(&self, other: &AnomalousLogGroupBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.