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
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more