Struct aws_sdk_rekognition::types::builders::CustomizationFeatureContentModerationConfigBuilder
source · #[non_exhaustive]pub struct CustomizationFeatureContentModerationConfigBuilder { /* private fields */ }Expand description
A builder for CustomizationFeatureContentModerationConfig.
Implementations§
source§impl CustomizationFeatureContentModerationConfigBuilder
impl CustomizationFeatureContentModerationConfigBuilder
sourcepub fn confidence_threshold(self, input: f32) -> Self
pub fn confidence_threshold(self, input: f32) -> Self
The confidence level you plan to use to identify if unsafe content is present during inference.
sourcepub fn set_confidence_threshold(self, input: Option<f32>) -> Self
pub fn set_confidence_threshold(self, input: Option<f32>) -> Self
The confidence level you plan to use to identify if unsafe content is present during inference.
sourcepub fn get_confidence_threshold(&self) -> &Option<f32>
pub fn get_confidence_threshold(&self) -> &Option<f32>
The confidence level you plan to use to identify if unsafe content is present during inference.
sourcepub fn build(self) -> CustomizationFeatureContentModerationConfig
pub fn build(self) -> CustomizationFeatureContentModerationConfig
Consumes the builder and constructs a CustomizationFeatureContentModerationConfig.
Trait Implementations§
source§impl Clone for CustomizationFeatureContentModerationConfigBuilder
impl Clone for CustomizationFeatureContentModerationConfigBuilder
source§fn clone(&self) -> CustomizationFeatureContentModerationConfigBuilder
fn clone(&self) -> CustomizationFeatureContentModerationConfigBuilder
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 Default for CustomizationFeatureContentModerationConfigBuilder
impl Default for CustomizationFeatureContentModerationConfigBuilder
source§fn default() -> CustomizationFeatureContentModerationConfigBuilder
fn default() -> CustomizationFeatureContentModerationConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CustomizationFeatureContentModerationConfigBuilder
impl PartialEq for CustomizationFeatureContentModerationConfigBuilder
source§fn eq(&self, other: &CustomizationFeatureContentModerationConfigBuilder) -> bool
fn eq(&self, other: &CustomizationFeatureContentModerationConfigBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CustomizationFeatureContentModerationConfigBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CustomizationFeatureContentModerationConfigBuilder
impl Send for CustomizationFeatureContentModerationConfigBuilder
impl Sync for CustomizationFeatureContentModerationConfigBuilder
impl Unpin for CustomizationFeatureContentModerationConfigBuilder
impl UnwindSafe for CustomizationFeatureContentModerationConfigBuilder
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> 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>
Creates a shared type from an unshared type.