Struct aws_sdk_comprehend::types::builders::DocumentLabelBuilder
source · #[non_exhaustive]pub struct DocumentLabelBuilder { /* private fields */ }Expand description
A builder for DocumentLabel.
Implementations§
source§impl DocumentLabelBuilder
impl DocumentLabelBuilder
sourcepub fn score(self, input: f32) -> Self
pub fn score(self, input: f32) -> Self
The confidence score that Amazon Comprehend has this label correctly attributed.
sourcepub fn set_score(self, input: Option<f32>) -> Self
pub fn set_score(self, input: Option<f32>) -> Self
The confidence score that Amazon Comprehend has this label correctly attributed.
sourcepub fn get_score(&self) -> &Option<f32>
pub fn get_score(&self) -> &Option<f32>
The confidence score that Amazon Comprehend has this label correctly attributed.
sourcepub fn page(self, input: i32) -> Self
pub fn page(self, input: i32) -> Self
Page number where the label occurs. This field is present in the response only if your request includes the Byte parameter.
sourcepub fn set_page(self, input: Option<i32>) -> Self
pub fn set_page(self, input: Option<i32>) -> Self
Page number where the label occurs. This field is present in the response only if your request includes the Byte parameter.
sourcepub fn get_page(&self) -> &Option<i32>
pub fn get_page(&self) -> &Option<i32>
Page number where the label occurs. This field is present in the response only if your request includes the Byte parameter.
sourcepub fn build(self) -> DocumentLabel
pub fn build(self) -> DocumentLabel
Consumes the builder and constructs a DocumentLabel.
Trait Implementations§
source§impl Clone for DocumentLabelBuilder
impl Clone for DocumentLabelBuilder
source§fn clone(&self) -> DocumentLabelBuilder
fn clone(&self) -> DocumentLabelBuilder
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 DocumentLabelBuilder
impl Debug for DocumentLabelBuilder
source§impl Default for DocumentLabelBuilder
impl Default for DocumentLabelBuilder
source§fn default() -> DocumentLabelBuilder
fn default() -> DocumentLabelBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DocumentLabelBuilder
impl PartialEq for DocumentLabelBuilder
source§fn eq(&self, other: &DocumentLabelBuilder) -> bool
fn eq(&self, other: &DocumentLabelBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DocumentLabelBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DocumentLabelBuilder
impl Send for DocumentLabelBuilder
impl Sync for DocumentLabelBuilder
impl Unpin for DocumentLabelBuilder
impl UnwindSafe for DocumentLabelBuilder
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
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>
Creates a shared type from an unshared type.