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
source§fn eq(&self, other: &AnomalyBuilder) -> bool
fn eq(&self, other: &AnomalyBuilder) -> bool
self and other values to be equal, and is used
by ==.