Struct aws_sdk_comprehend::model::entity_label::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for EntityLabel.
Implementations§
source§impl Builder
impl Builder
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.