Struct aws_sdk_lexmodelsv2::types::builders::ConversationLevelSlotResolutionResultItemBuilder
source · #[non_exhaustive]pub struct ConversationLevelSlotResolutionResultItemBuilder { /* private fields */ }Expand description
A builder for ConversationLevelSlotResolutionResultItem.
Implementations§
source§impl ConversationLevelSlotResolutionResultItemBuilder
impl ConversationLevelSlotResolutionResultItemBuilder
sourcepub fn intent_name(self, input: impl Into<String>) -> Self
pub fn intent_name(self, input: impl Into<String>) -> Self
The intents used in the slots list for the slot resolution details.
This field is required.sourcepub fn set_intent_name(self, input: Option<String>) -> Self
pub fn set_intent_name(self, input: Option<String>) -> Self
The intents used in the slots list for the slot resolution details.
sourcepub fn get_intent_name(&self) -> &Option<String>
pub fn get_intent_name(&self) -> &Option<String>
The intents used in the slots list for the slot resolution details.
sourcepub fn slot_name(self, input: impl Into<String>) -> Self
pub fn slot_name(self, input: impl Into<String>) -> Self
The slot name in the slots list for the slot resolution details.
This field is required.sourcepub fn set_slot_name(self, input: Option<String>) -> Self
pub fn set_slot_name(self, input: Option<String>) -> Self
The slot name in the slots list for the slot resolution details.
sourcepub fn get_slot_name(&self) -> &Option<String>
pub fn get_slot_name(&self) -> &Option<String>
The slot name in the slots list for the slot resolution details.
sourcepub fn match_result(self, input: TestResultMatchStatus) -> Self
pub fn match_result(self, input: TestResultMatchStatus) -> Self
The number of matching slots used in the slots listings for the slot resolution evaluation.
This field is required.sourcepub fn set_match_result(self, input: Option<TestResultMatchStatus>) -> Self
pub fn set_match_result(self, input: Option<TestResultMatchStatus>) -> Self
The number of matching slots used in the slots listings for the slot resolution evaluation.
sourcepub fn get_match_result(&self) -> &Option<TestResultMatchStatus>
pub fn get_match_result(&self) -> &Option<TestResultMatchStatus>
The number of matching slots used in the slots listings for the slot resolution evaluation.
sourcepub fn build(
self,
) -> Result<ConversationLevelSlotResolutionResultItem, BuildError>
pub fn build( self, ) -> Result<ConversationLevelSlotResolutionResultItem, BuildError>
Consumes the builder and constructs a ConversationLevelSlotResolutionResultItem.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ConversationLevelSlotResolutionResultItemBuilder
impl Clone for ConversationLevelSlotResolutionResultItemBuilder
source§fn clone(&self) -> ConversationLevelSlotResolutionResultItemBuilder
fn clone(&self) -> ConversationLevelSlotResolutionResultItemBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ConversationLevelSlotResolutionResultItemBuilder
impl Default for ConversationLevelSlotResolutionResultItemBuilder
source§fn default() -> ConversationLevelSlotResolutionResultItemBuilder
fn default() -> ConversationLevelSlotResolutionResultItemBuilder
source§impl PartialEq for ConversationLevelSlotResolutionResultItemBuilder
impl PartialEq for ConversationLevelSlotResolutionResultItemBuilder
source§fn eq(&self, other: &ConversationLevelSlotResolutionResultItemBuilder) -> bool
fn eq(&self, other: &ConversationLevelSlotResolutionResultItemBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ConversationLevelSlotResolutionResultItemBuilder
Auto Trait Implementations§
impl Freeze for ConversationLevelSlotResolutionResultItemBuilder
impl RefUnwindSafe for ConversationLevelSlotResolutionResultItemBuilder
impl Send for ConversationLevelSlotResolutionResultItemBuilder
impl Sync for ConversationLevelSlotResolutionResultItemBuilder
impl Unpin for ConversationLevelSlotResolutionResultItemBuilder
impl UnwindSafe for ConversationLevelSlotResolutionResultItemBuilder
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> 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