Struct aws_sdk_comprehend::model::RedactionConfig
source · #[non_exhaustive]pub struct RedactionConfig { /* private fields */ }Expand description
Provides configuration parameters for PII entity redaction.
Implementations§
source§impl RedactionConfig
impl RedactionConfig
sourcepub fn pii_entity_types(&self) -> Option<&[PiiEntityType]>
pub fn pii_entity_types(&self) -> Option<&[PiiEntityType]>
An array of the types of PII entities that Amazon Comprehend detects in the input text for your request.
sourcepub fn mask_mode(&self) -> Option<&PiiEntitiesDetectionMaskMode>
pub fn mask_mode(&self) -> Option<&PiiEntitiesDetectionMaskMode>
Specifies whether the PII entity is redacted with the mask character or the entity type.
sourcepub fn mask_character(&self) -> Option<&str>
pub fn mask_character(&self) -> Option<&str>
A character that replaces each character in the redacted PII entity.
source§impl RedactionConfig
impl RedactionConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RedactionConfig.
Trait Implementations§
source§impl Clone for RedactionConfig
impl Clone for RedactionConfig
source§fn clone(&self) -> RedactionConfig
fn clone(&self) -> RedactionConfig
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 more