#[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 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 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 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
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 Default for RecommendedIntentSummaryBuilder
impl Default for RecommendedIntentSummaryBuilder
source§fn default() -> RecommendedIntentSummaryBuilder
fn default() -> RecommendedIntentSummaryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<RecommendedIntentSummaryBuilder> for RecommendedIntentSummaryBuilder
impl PartialEq<RecommendedIntentSummaryBuilder> for RecommendedIntentSummaryBuilder
source§fn eq(&self, other: &RecommendedIntentSummaryBuilder) -> bool
fn eq(&self, other: &RecommendedIntentSummaryBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RecommendedIntentSummaryBuilder
Auto Trait Implementations§
impl RefUnwindSafe for RecommendedIntentSummaryBuilder
impl Send for RecommendedIntentSummaryBuilder
impl Sync for RecommendedIntentSummaryBuilder
impl Unpin for RecommendedIntentSummaryBuilder
impl UnwindSafe for RecommendedIntentSummaryBuilder
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