Struct aws_sdk_textract::model::analyze_id_detections::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for AnalyzeIdDetections.
Implementations§
source§impl Builder
impl Builder
sourcepub fn text(self, input: impl Into<String>) -> Self
pub fn text(self, input: impl Into<String>) -> Self
Text of either the normalized field or value associated with it.
sourcepub fn set_text(self, input: Option<String>) -> Self
pub fn set_text(self, input: Option<String>) -> Self
Text of either the normalized field or value associated with it.
sourcepub fn normalized_value(self, input: NormalizedValue) -> Self
pub fn normalized_value(self, input: NormalizedValue) -> Self
Only returned for dates, returns the type of value detected and the date written in a more machine readable way.
sourcepub fn set_normalized_value(self, input: Option<NormalizedValue>) -> Self
pub fn set_normalized_value(self, input: Option<NormalizedValue>) -> Self
Only returned for dates, returns the type of value detected and the date written in a more machine readable way.
sourcepub fn confidence(self, input: f32) -> Self
pub fn confidence(self, input: f32) -> Self
The confidence score of the detected text.
sourcepub fn set_confidence(self, input: Option<f32>) -> Self
pub fn set_confidence(self, input: Option<f32>) -> Self
The confidence score of the detected text.
sourcepub fn build(self) -> AnalyzeIdDetections
pub fn build(self) -> AnalyzeIdDetections
Consumes the builder and constructs a AnalyzeIdDetections.