#[non_exhaustive]pub struct RecommendedIntentSummaryBuilder { /* private fields */ }Expand description
A builder for RecommendedIntentSummary.
Implementations§
source§impl RecommendedIntentSummaryBuilder
impl RecommendedIntentSummaryBuilder
sourcepub fn intent_id(self, input: impl Into<String>) -> Self
pub fn intent_id(self, input: impl Into<String>) -> Self
The unique identifier of a recommended intent associated with the bot recommendation.
sourcepub fn set_intent_id(self, input: Option<String>) -> Self
pub fn set_intent_id(self, input: Option<String>) -> Self
The unique identifier of a recommended intent associated with the bot recommendation.
sourcepub fn get_intent_id(&self) -> &Option<String>
pub fn get_intent_id(&self) -> &Option<String>
The unique identifier of a recommended intent associated with the bot recommendation.
sourcepub fn intent_name(self, input: impl Into<String>) -> Self
pub fn intent_name(self, input: impl Into<String>) -> Self
The name of a recommended intent associated with the bot recommendation.
sourcepub fn set_intent_name(self, input: Option<String>) -> Self
pub fn set_intent_name(self, input: Option<String>) -> Self
The name of a recommended intent associated with the bot recommendation.
sourcepub fn get_intent_name(&self) -> &Option<String>
pub fn get_intent_name(&self) -> &Option<String>
The name of a recommended intent associated with the bot recommendation.
sourcepub fn sample_utterances_count(self, input: i32) -> Self
pub fn sample_utterances_count(self, input: i32) -> Self
The count of sample utterances of a recommended intent that is associated with a bot recommendation.
sourcepub fn set_sample_utterances_count(self, input: Option<i32>) -> Self
pub fn set_sample_utterances_count(self, input: Option<i32>) -> Self
The count of sample utterances of a recommended intent that is associated with a bot recommendation.
sourcepub fn get_sample_utterances_count(&self) -> &Option<i32>
pub fn get_sample_utterances_count(&self) -> &Option<i32>
The count of sample utterances of a recommended intent that is associated with a bot recommendation.
sourcepub fn build(self) -> RecommendedIntentSummary
pub fn build(self) -> RecommendedIntentSummary
Consumes the builder and constructs a RecommendedIntentSummary.
Trait Implementations§
source§impl Clone for RecommendedIntentSummaryBuilder
impl Clone for RecommendedIntentSummaryBuilder
source§fn clone(&self) -> RecommendedIntentSummaryBuilder
fn clone(&self) -> RecommendedIntentSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for RecommendedIntentSummaryBuilder
impl Default for RecommendedIntentSummaryBuilder
source§fn default() -> RecommendedIntentSummaryBuilder
fn default() -> RecommendedIntentSummaryBuilder
source§impl PartialEq for RecommendedIntentSummaryBuilder
impl PartialEq for RecommendedIntentSummaryBuilder
source§fn eq(&self, other: &RecommendedIntentSummaryBuilder) -> bool
fn eq(&self, other: &RecommendedIntentSummaryBuilder) -> bool
self and other values to be equal, and is used
by ==.