pub struct Builder { /* private fields */ }Expand description
A builder for RecommendedIntentSummary.
Implementations
sourceimpl Builder
impl Builder
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
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more