#[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
impl StructuralPartialEq for AnomalyDetectionBuilder
Auto Trait Implementations§
impl Freeze for AnomalyDetectionBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.