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
impl StructuralPartialEq for PixelAnomalyBuilder
Auto Trait Implementations§
impl Freeze for PixelAnomalyBuilder
impl RefUnwindSafe for PixelAnomalyBuilder
impl Send for PixelAnomalyBuilder
impl Sync for PixelAnomalyBuilder
impl Unpin for PixelAnomalyBuilder
impl UnwindSafe for PixelAnomalyBuilder
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