#[non_exhaustive]pub struct AggregatedUtterancesSummaryBuilder { /* private fields */ }Expand description
A builder for AggregatedUtterancesSummary.
Implementations§
source§impl AggregatedUtterancesSummaryBuilder
impl AggregatedUtterancesSummaryBuilder
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§
source§impl Clone for AggregatedUtterancesSummaryBuilder
impl Clone for AggregatedUtterancesSummaryBuilder
source§fn clone(&self) -> AggregatedUtterancesSummaryBuilder
fn clone(&self) -> AggregatedUtterancesSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AggregatedUtterancesSummaryBuilder
impl Default for AggregatedUtterancesSummaryBuilder
source§fn default() -> AggregatedUtterancesSummaryBuilder
fn default() -> AggregatedUtterancesSummaryBuilder
source§impl PartialEq<AggregatedUtterancesSummaryBuilder> for AggregatedUtterancesSummaryBuilder
impl PartialEq<AggregatedUtterancesSummaryBuilder> for AggregatedUtterancesSummaryBuilder
source§fn eq(&self, other: &AggregatedUtterancesSummaryBuilder) -> bool
fn eq(&self, other: &AggregatedUtterancesSummaryBuilder) -> bool
self and other values to be equal, and is used
by ==.