Struct aws_sdk_lookoutvision::types::builders::AnomalyBuilder
source · #[non_exhaustive]pub struct AnomalyBuilder { /* private fields */ }Expand description
A builder for Anomaly.
Implementations§
source§impl AnomalyBuilder
impl AnomalyBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of an anomaly type found in an image. Name maps to an anomaly type in the training dataset, apart from the anomaly type background. The service automatically inserts the background anomaly type into the response from DetectAnomalies.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of an anomaly type found in an image. Name maps to an anomaly type in the training dataset, apart from the anomaly type background. The service automatically inserts the background anomaly type into the response from DetectAnomalies.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of an anomaly type found in an image. Name maps to an anomaly type in the training dataset, apart from the anomaly type background. The service automatically inserts the background anomaly type into the response from DetectAnomalies.
sourcepub fn pixel_anomaly(self, input: PixelAnomaly) -> Self
pub fn pixel_anomaly(self, input: PixelAnomaly) -> Self
Information about the pixel mask that covers an anomaly type.
sourcepub fn set_pixel_anomaly(self, input: Option<PixelAnomaly>) -> Self
pub fn set_pixel_anomaly(self, input: Option<PixelAnomaly>) -> Self
Information about the pixel mask that covers an anomaly type.
sourcepub fn get_pixel_anomaly(&self) -> &Option<PixelAnomaly>
pub fn get_pixel_anomaly(&self) -> &Option<PixelAnomaly>
Information about the pixel mask that covers an anomaly type.
Trait Implementations§
source§impl Clone for AnomalyBuilder
impl Clone for AnomalyBuilder
source§fn clone(&self) -> AnomalyBuilder
fn clone(&self) -> AnomalyBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AnomalyBuilder
impl Debug for AnomalyBuilder
source§impl Default for AnomalyBuilder
impl Default for AnomalyBuilder
source§fn default() -> AnomalyBuilder
fn default() -> AnomalyBuilder
source§impl PartialEq for AnomalyBuilder
impl PartialEq for AnomalyBuilder
impl StructuralPartialEq for AnomalyBuilder
Auto Trait Implementations§
impl Freeze for AnomalyBuilder
impl RefUnwindSafe for AnomalyBuilder
impl Send for AnomalyBuilder
impl Sync for AnomalyBuilder
impl Unpin for AnomalyBuilder
impl UnwindSafe for AnomalyBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
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>
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>
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 more