Struct aws_sdk_textract::model::prediction::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for Prediction.
Implementations§
source§impl Builder
impl Builder
sourcepub fn set_value(self, input: Option<String>) -> Self
pub fn set_value(self, input: Option<String>) -> Self
The predicted value of a detected object.
sourcepub fn confidence(self, input: f32) -> Self
pub fn confidence(self, input: f32) -> Self
Amazon Textract's confidence in its predicted value.
sourcepub fn set_confidence(self, input: Option<f32>) -> Self
pub fn set_confidence(self, input: Option<f32>) -> Self
Amazon Textract's confidence in its predicted value.
sourcepub fn build(self) -> Prediction
pub fn build(self) -> Prediction
Consumes the builder and constructs a Prediction.