Struct aws_sdk_comprehend::model::document_label::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for DocumentLabel.
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 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 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 build(self) -> DocumentLabel
pub fn build(self) -> DocumentLabel
Consumes the builder and constructs a DocumentLabel.