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