Struct aws_sdk_lexruntime::types::builders::IntentConfidenceBuilder
source · #[non_exhaustive]pub struct IntentConfidenceBuilder { /* private fields */ }
Expand description
A builder for IntentConfidence
.
Implementations§
source§impl IntentConfidenceBuilder
impl IntentConfidenceBuilder
sourcepub fn score(self, input: f64) -> Self
pub fn score(self, input: f64) -> Self
A score that indicates how confident Amazon Lex 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 is that an intent satisfies the user's intent. Ranges between 0.00 and 1.00. Higher scores indicate higher confidence.
sourcepub fn get_score(&self) -> &Option<f64>
pub fn get_score(&self) -> &Option<f64>
A score that indicates how confident Amazon Lex 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) -> IntentConfidence
pub fn build(self) -> IntentConfidence
Consumes the builder and constructs a IntentConfidence
.
Trait Implementations§
source§impl Clone for IntentConfidenceBuilder
impl Clone for IntentConfidenceBuilder
source§fn clone(&self) -> IntentConfidenceBuilder
fn clone(&self) -> IntentConfidenceBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for IntentConfidenceBuilder
impl Debug for IntentConfidenceBuilder
source§impl Default for IntentConfidenceBuilder
impl Default for IntentConfidenceBuilder
source§fn default() -> IntentConfidenceBuilder
fn default() -> IntentConfidenceBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<IntentConfidenceBuilder> for IntentConfidenceBuilder
impl PartialEq<IntentConfidenceBuilder> for IntentConfidenceBuilder
source§fn eq(&self, other: &IntentConfidenceBuilder) -> bool
fn eq(&self, other: &IntentConfidenceBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for IntentConfidenceBuilder
Auto Trait Implementations§
impl RefUnwindSafe for IntentConfidenceBuilder
impl Send for IntentConfidenceBuilder
impl Sync for IntentConfidenceBuilder
impl Unpin for IntentConfidenceBuilder
impl UnwindSafe for IntentConfidenceBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more