#[non_exhaustive]pub struct AnomalyDetectionBuilder { /* private fields */ }
Expand description
A builder for AnomalyDetection
.
Implementations§
source§impl AnomalyDetectionBuilder
impl AnomalyDetectionBuilder
sourcepub fn result(self, input: AnomalyResultEnum) -> Self
pub fn result(self, input: AnomalyResultEnum) -> Self
The latest anomaly detection result.
sourcepub fn set_result(self, input: Option<AnomalyResultEnum>) -> Self
pub fn set_result(self, input: Option<AnomalyResultEnum>) -> Self
The latest anomaly detection result.
sourcepub fn get_result(&self) -> &Option<AnomalyResultEnum>
pub fn get_result(&self) -> &Option<AnomalyResultEnum>
The latest anomaly detection result.
sourcepub fn mitigation_in_effect(self, input: MitigationInEffectEnum) -> Self
pub fn mitigation_in_effect(self, input: MitigationInEffectEnum) -> Self
Indicates whether anomaly mitigation is in progress.
sourcepub fn set_mitigation_in_effect(
self,
input: Option<MitigationInEffectEnum>
) -> Self
pub fn set_mitigation_in_effect( self, input: Option<MitigationInEffectEnum> ) -> Self
Indicates whether anomaly mitigation is in progress.
sourcepub fn get_mitigation_in_effect(&self) -> &Option<MitigationInEffectEnum>
pub fn get_mitigation_in_effect(&self) -> &Option<MitigationInEffectEnum>
Indicates whether anomaly mitigation is in progress.
sourcepub fn build(self) -> AnomalyDetection
pub fn build(self) -> AnomalyDetection
Consumes the builder and constructs a AnomalyDetection
.
Trait Implementations§
source§impl Clone for AnomalyDetectionBuilder
impl Clone for AnomalyDetectionBuilder
source§fn clone(&self) -> AnomalyDetectionBuilder
fn clone(&self) -> AnomalyDetectionBuilder
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 AnomalyDetectionBuilder
impl Debug for AnomalyDetectionBuilder
source§impl Default for AnomalyDetectionBuilder
impl Default for AnomalyDetectionBuilder
source§fn default() -> AnomalyDetectionBuilder
fn default() -> AnomalyDetectionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AnomalyDetectionBuilder
impl PartialEq for AnomalyDetectionBuilder
source§fn eq(&self, other: &AnomalyDetectionBuilder) -> bool
fn eq(&self, other: &AnomalyDetectionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AnomalyDetectionBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AnomalyDetectionBuilder
impl Send for AnomalyDetectionBuilder
impl Sync for AnomalyDetectionBuilder
impl Unpin for AnomalyDetectionBuilder
impl UnwindSafe for AnomalyDetectionBuilder
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.