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