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