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 get_name(&self) -> &Option<PiiEntityType>
pub fn get_name(&self) -> &Option<PiiEntityType>
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 get_score(&self) -> &Option<f32>
pub fn get_score(&self) -> &Option<f32>
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 for EntityLabelBuilder
impl PartialEq 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 ==.impl StructuralPartialEq for EntityLabelBuilder
Auto Trait Implementations§
impl RefUnwindSafe for EntityLabelBuilder
impl Send for EntityLabelBuilder
impl Sync for EntityLabelBuilder
impl Unpin for EntityLabelBuilder
impl UnwindSafe for EntityLabelBuilder
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
Mutably borrows from an owned value. Read more