#[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 ==.impl StructuralPartialEq for RecommendedIntentSummaryBuilder
Auto Trait Implementations§
impl Freeze for RecommendedIntentSummaryBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more