Struct aws_sdk_comprehend::operation::detect_pii_entities::builders::DetectPiiEntitiesOutputBuilder
source · #[non_exhaustive]pub struct DetectPiiEntitiesOutputBuilder { /* private fields */ }Expand description
A builder for DetectPiiEntitiesOutput.
Implementations§
source§impl DetectPiiEntitiesOutputBuilder
impl DetectPiiEntitiesOutputBuilder
sourcepub fn entities(self, input: PiiEntity) -> Self
pub fn entities(self, input: PiiEntity) -> Self
Appends an item to entities.
To override the contents of this collection use set_entities.
A collection of PII entities identified in the input text. For each entity, the response provides the entity type, where the entity text begins and ends, and the level of confidence that Amazon Comprehend has in the detection.
sourcepub fn set_entities(self, input: Option<Vec<PiiEntity>>) -> Self
pub fn set_entities(self, input: Option<Vec<PiiEntity>>) -> Self
A collection of PII entities identified in the input text. For each entity, the response provides the entity type, where the entity text begins and ends, and the level of confidence that Amazon Comprehend has in the detection.
sourcepub fn get_entities(&self) -> &Option<Vec<PiiEntity>>
pub fn get_entities(&self) -> &Option<Vec<PiiEntity>>
A collection of PII entities identified in the input text. For each entity, the response provides the entity type, where the entity text begins and ends, and the level of confidence that Amazon Comprehend has in the detection.
sourcepub fn build(self) -> DetectPiiEntitiesOutput
pub fn build(self) -> DetectPiiEntitiesOutput
Consumes the builder and constructs a DetectPiiEntitiesOutput.
Trait Implementations§
source§impl Clone for DetectPiiEntitiesOutputBuilder
impl Clone for DetectPiiEntitiesOutputBuilder
source§fn clone(&self) -> DetectPiiEntitiesOutputBuilder
fn clone(&self) -> DetectPiiEntitiesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DetectPiiEntitiesOutputBuilder
impl Default for DetectPiiEntitiesOutputBuilder
source§fn default() -> DetectPiiEntitiesOutputBuilder
fn default() -> DetectPiiEntitiesOutputBuilder
source§impl PartialEq for DetectPiiEntitiesOutputBuilder
impl PartialEq for DetectPiiEntitiesOutputBuilder
source§fn eq(&self, other: &DetectPiiEntitiesOutputBuilder) -> bool
fn eq(&self, other: &DetectPiiEntitiesOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.