#[non_exhaustive]pub struct LogAnomalyShowcaseBuilder { /* private fields */ }
Expand description
A builder for LogAnomalyShowcase
.
Implementations§
source§impl LogAnomalyShowcaseBuilder
impl LogAnomalyShowcaseBuilder
sourcepub fn log_anomaly_classes(self, input: LogAnomalyClass) -> Self
pub fn log_anomaly_classes(self, input: LogAnomalyClass) -> Self
Appends an item to log_anomaly_classes
.
To override the contents of this collection use set_log_anomaly_classes
.
A list of anomalous log events that may be related.
sourcepub fn set_log_anomaly_classes(
self,
input: Option<Vec<LogAnomalyClass>>
) -> Self
pub fn set_log_anomaly_classes( self, input: Option<Vec<LogAnomalyClass>> ) -> Self
A list of anomalous log events that may be related.
sourcepub fn get_log_anomaly_classes(&self) -> &Option<Vec<LogAnomalyClass>>
pub fn get_log_anomaly_classes(&self) -> &Option<Vec<LogAnomalyClass>>
A list of anomalous log events that may be related.
sourcepub fn build(self) -> LogAnomalyShowcase
pub fn build(self) -> LogAnomalyShowcase
Consumes the builder and constructs a LogAnomalyShowcase
.
Trait Implementations§
source§impl Clone for LogAnomalyShowcaseBuilder
impl Clone for LogAnomalyShowcaseBuilder
source§fn clone(&self) -> LogAnomalyShowcaseBuilder
fn clone(&self) -> LogAnomalyShowcaseBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LogAnomalyShowcaseBuilder
impl Debug for LogAnomalyShowcaseBuilder
source§impl Default for LogAnomalyShowcaseBuilder
impl Default for LogAnomalyShowcaseBuilder
source§fn default() -> LogAnomalyShowcaseBuilder
fn default() -> LogAnomalyShowcaseBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for LogAnomalyShowcaseBuilder
impl PartialEq for LogAnomalyShowcaseBuilder
source§fn eq(&self, other: &LogAnomalyShowcaseBuilder) -> bool
fn eq(&self, other: &LogAnomalyShowcaseBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LogAnomalyShowcaseBuilder
Auto Trait Implementations§
impl RefUnwindSafe for LogAnomalyShowcaseBuilder
impl Send for LogAnomalyShowcaseBuilder
impl Sync for LogAnomalyShowcaseBuilder
impl Unpin for LogAnomalyShowcaseBuilder
impl UnwindSafe for LogAnomalyShowcaseBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.