#[non_exhaustive]pub struct Builder { /* private fields */ }Expand description
A builder for AggregatedUtterancesSummary
Implementations
sourceimpl Builder
impl Builder
sourcepub fn utterance(self, input: impl Into<String>) -> Self
pub fn utterance(self, input: impl Into<String>) -> Self
The text of the utterance. If the utterance was used with the RecognizeUtterance operation, the text is the transcription of the audio utterance.
sourcepub fn set_utterance(self, input: Option<String>) -> Self
pub fn set_utterance(self, input: Option<String>) -> Self
The text of the utterance. If the utterance was used with the RecognizeUtterance operation, the text is the transcription of the audio utterance.
sourcepub fn hit_count(self, input: i32) -> Self
pub fn hit_count(self, input: i32) -> Self
The number of times that the utterance was detected by Amazon Lex during the time period. When an utterance is detected, it activates an intent or a slot.
sourcepub fn set_hit_count(self, input: Option<i32>) -> Self
pub fn set_hit_count(self, input: Option<i32>) -> Self
The number of times that the utterance was detected by Amazon Lex during the time period. When an utterance is detected, it activates an intent or a slot.
sourcepub fn missed_count(self, input: i32) -> Self
pub fn missed_count(self, input: i32) -> Self
The number of times that the utterance was missed by Amazon Lex An utterance is missed when it doesn't activate an intent or slot.
sourcepub fn set_missed_count(self, input: Option<i32>) -> Self
pub fn set_missed_count(self, input: Option<i32>) -> Self
The number of times that the utterance was missed by Amazon Lex An utterance is missed when it doesn't activate an intent or slot.
sourcepub fn utterance_first_recorded_in_aggregation_duration(
self,
input: DateTime
) -> Self
pub fn utterance_first_recorded_in_aggregation_duration(
self,
input: DateTime
) -> Self
The date and time that the utterance was first recorded in the time window for aggregation. An utterance may have been sent to Amazon Lex before that time, but only utterances within the time window are counted.
sourcepub fn set_utterance_first_recorded_in_aggregation_duration(
self,
input: Option<DateTime>
) -> Self
pub fn set_utterance_first_recorded_in_aggregation_duration(
self,
input: Option<DateTime>
) -> Self
The date and time that the utterance was first recorded in the time window for aggregation. An utterance may have been sent to Amazon Lex before that time, but only utterances within the time window are counted.
sourcepub fn utterance_last_recorded_in_aggregation_duration(
self,
input: DateTime
) -> Self
pub fn utterance_last_recorded_in_aggregation_duration(
self,
input: DateTime
) -> Self
The last date and time that an utterance was recorded in the time window for aggregation. An utterance may be sent to Amazon Lex after that time, but only utterances within the time window are counted.
sourcepub fn set_utterance_last_recorded_in_aggregation_duration(
self,
input: Option<DateTime>
) -> Self
pub fn set_utterance_last_recorded_in_aggregation_duration(
self,
input: Option<DateTime>
) -> Self
The last date and time that an utterance was recorded in the time window for aggregation. An utterance may be sent to Amazon Lex after that time, but only utterances within the time window are counted.
sourcepub fn contains_data_from_deleted_resources(self, input: bool) -> Self
pub fn contains_data_from_deleted_resources(self, input: bool) -> Self
Aggregated utterance data may contain utterances from versions of your bot that have since been deleted. When the aggregated contains this kind of data, this field is set to true.
sourcepub fn set_contains_data_from_deleted_resources(
self,
input: Option<bool>
) -> Self
pub fn set_contains_data_from_deleted_resources(
self,
input: Option<bool>
) -> Self
Aggregated utterance data may contain utterances from versions of your bot that have since been deleted. When the aggregated contains this kind of data, this field is set to true.
sourcepub fn build(self) -> AggregatedUtterancesSummary
pub fn build(self) -> AggregatedUtterancesSummary
Consumes the builder and constructs a AggregatedUtterancesSummary
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more