Struct aws_sdk_lexruntimev2::model::confidence_score::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for ConfidenceScore.
Implementations§
source§impl Builder
impl Builder
sourcepub fn score(self, input: f64) -> Self
pub fn score(self, input: f64) -> Self
A score that indicates how confident Amazon Lex V2 is that an intent satisfies the user's intent. Ranges between 0.00 and 1.00. Higher scores indicate higher confidence.
sourcepub fn set_score(self, input: Option<f64>) -> Self
pub fn set_score(self, input: Option<f64>) -> Self
A score that indicates how confident Amazon Lex V2 is that an intent satisfies the user's intent. Ranges between 0.00 and 1.00. Higher scores indicate higher confidence.
sourcepub fn build(self) -> ConfidenceScore
pub fn build(self) -> ConfidenceScore
Consumes the builder and constructs a ConfidenceScore.