Struct aws_sdk_comprehend::types::builders::EntityLabelBuilder
source · #[non_exhaustive]pub struct EntityLabelBuilder { /* private fields */ }Expand description
A builder for EntityLabel.
Implementations§
source§impl EntityLabelBuilder
impl EntityLabelBuilder
sourcepub fn name(self, input: PiiEntityType) -> Self
pub fn name(self, input: PiiEntityType) -> Self
The name of the label.
sourcepub fn set_name(self, input: Option<PiiEntityType>) -> Self
pub fn set_name(self, input: Option<PiiEntityType>) -> Self
The name of the label.
sourcepub fn score(self, input: f32) -> Self
pub fn score(self, input: f32) -> Self
The level of confidence that Amazon Comprehend has in the accuracy of the detection.
sourcepub fn set_score(self, input: Option<f32>) -> Self
pub fn set_score(self, input: Option<f32>) -> Self
The level of confidence that Amazon Comprehend has in the accuracy of the detection.
sourcepub fn build(self) -> EntityLabel
pub fn build(self) -> EntityLabel
Consumes the builder and constructs a EntityLabel.
Trait Implementations§
source§impl Clone for EntityLabelBuilder
impl Clone for EntityLabelBuilder
source§fn clone(&self) -> EntityLabelBuilder
fn clone(&self) -> EntityLabelBuilder
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 Debug for EntityLabelBuilder
impl Debug for EntityLabelBuilder
source§impl Default for EntityLabelBuilder
impl Default for EntityLabelBuilder
source§fn default() -> EntityLabelBuilder
fn default() -> EntityLabelBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<EntityLabelBuilder> for EntityLabelBuilder
impl PartialEq<EntityLabelBuilder> for EntityLabelBuilder
source§fn eq(&self, other: &EntityLabelBuilder) -> bool
fn eq(&self, other: &EntityLabelBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.