Struct aws_sdk_lookoutvision::types::builders::PixelAnomalyBuilder
source · #[non_exhaustive]pub struct PixelAnomalyBuilder { /* private fields */ }Expand description
A builder for PixelAnomaly.
Implementations§
source§impl PixelAnomalyBuilder
impl PixelAnomalyBuilder
sourcepub fn total_percentage_area(self, input: f32) -> Self
pub fn total_percentage_area(self, input: f32) -> Self
The percentage area of the image that the anomaly type covers.
sourcepub fn set_total_percentage_area(self, input: Option<f32>) -> Self
pub fn set_total_percentage_area(self, input: Option<f32>) -> Self
The percentage area of the image that the anomaly type covers.
sourcepub fn get_total_percentage_area(&self) -> &Option<f32>
pub fn get_total_percentage_area(&self) -> &Option<f32>
The percentage area of the image that the anomaly type covers.
sourcepub fn color(self, input: impl Into<String>) -> Self
pub fn color(self, input: impl Into<String>) -> Self
A hex color value for the mask that covers an anomaly type. Each anomaly type has a different mask color. The color maps to the color of the anomaly type used in the training dataset.
sourcepub fn set_color(self, input: Option<String>) -> Self
pub fn set_color(self, input: Option<String>) -> Self
A hex color value for the mask that covers an anomaly type. Each anomaly type has a different mask color. The color maps to the color of the anomaly type used in the training dataset.
sourcepub fn get_color(&self) -> &Option<String>
pub fn get_color(&self) -> &Option<String>
A hex color value for the mask that covers an anomaly type. Each anomaly type has a different mask color. The color maps to the color of the anomaly type used in the training dataset.
sourcepub fn build(self) -> PixelAnomaly
pub fn build(self) -> PixelAnomaly
Consumes the builder and constructs a PixelAnomaly.
Trait Implementations§
source§impl Clone for PixelAnomalyBuilder
impl Clone for PixelAnomalyBuilder
source§fn clone(&self) -> PixelAnomalyBuilder
fn clone(&self) -> PixelAnomalyBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PixelAnomalyBuilder
impl Debug for PixelAnomalyBuilder
source§impl Default for PixelAnomalyBuilder
impl Default for PixelAnomalyBuilder
source§fn default() -> PixelAnomalyBuilder
fn default() -> PixelAnomalyBuilder
source§impl PartialEq for PixelAnomalyBuilder
impl PartialEq for PixelAnomalyBuilder
source§fn eq(&self, other: &PixelAnomalyBuilder) -> bool
fn eq(&self, other: &PixelAnomalyBuilder) -> bool
self and other values to be equal, and is used
by ==.