Struct aws_sdk_lexmodelsv2::types::builders::UserTurnResultBuilder
source · #[non_exhaustive]pub struct UserTurnResultBuilder { /* private fields */ }Expand description
A builder for UserTurnResult.
Implementations§
source§impl UserTurnResultBuilder
impl UserTurnResultBuilder
sourcepub fn input(self, input: UserTurnInputSpecification) -> Self
pub fn input(self, input: UserTurnInputSpecification) -> Self
Contains information about the user messages in the turn in the input.
sourcepub fn set_input(self, input: Option<UserTurnInputSpecification>) -> Self
pub fn set_input(self, input: Option<UserTurnInputSpecification>) -> Self
Contains information about the user messages in the turn in the input.
sourcepub fn get_input(&self) -> &Option<UserTurnInputSpecification>
pub fn get_input(&self) -> &Option<UserTurnInputSpecification>
Contains information about the user messages in the turn in the input.
sourcepub fn expected_output(self, input: UserTurnOutputSpecification) -> Self
pub fn expected_output(self, input: UserTurnOutputSpecification) -> Self
Contains information about the expected output for the user turn.
sourcepub fn set_expected_output(
self,
input: Option<UserTurnOutputSpecification>
) -> Self
pub fn set_expected_output( self, input: Option<UserTurnOutputSpecification> ) -> Self
Contains information about the expected output for the user turn.
sourcepub fn get_expected_output(&self) -> &Option<UserTurnOutputSpecification>
pub fn get_expected_output(&self) -> &Option<UserTurnOutputSpecification>
Contains information about the expected output for the user turn.
sourcepub fn actual_output(self, input: UserTurnOutputSpecification) -> Self
pub fn actual_output(self, input: UserTurnOutputSpecification) -> Self
Contains information about the actual output for the user turn.
sourcepub fn set_actual_output(
self,
input: Option<UserTurnOutputSpecification>
) -> Self
pub fn set_actual_output( self, input: Option<UserTurnOutputSpecification> ) -> Self
Contains information about the actual output for the user turn.
sourcepub fn get_actual_output(&self) -> &Option<UserTurnOutputSpecification>
pub fn get_actual_output(&self) -> &Option<UserTurnOutputSpecification>
Contains information about the actual output for the user turn.
sourcepub fn error_details(self, input: ExecutionErrorDetails) -> Self
pub fn error_details(self, input: ExecutionErrorDetails) -> Self
Details about an error in an execution of a test set.
sourcepub fn set_error_details(self, input: Option<ExecutionErrorDetails>) -> Self
pub fn set_error_details(self, input: Option<ExecutionErrorDetails>) -> Self
Details about an error in an execution of a test set.
sourcepub fn get_error_details(&self) -> &Option<ExecutionErrorDetails>
pub fn get_error_details(&self) -> &Option<ExecutionErrorDetails>
Details about an error in an execution of a test set.
sourcepub fn end_to_end_result(self, input: TestResultMatchStatus) -> Self
pub fn end_to_end_result(self, input: TestResultMatchStatus) -> Self
Specifies whether the expected and actual outputs match or not, or if there is an error in execution.
sourcepub fn set_end_to_end_result(self, input: Option<TestResultMatchStatus>) -> Self
pub fn set_end_to_end_result(self, input: Option<TestResultMatchStatus>) -> Self
Specifies whether the expected and actual outputs match or not, or if there is an error in execution.
sourcepub fn get_end_to_end_result(&self) -> &Option<TestResultMatchStatus>
pub fn get_end_to_end_result(&self) -> &Option<TestResultMatchStatus>
Specifies whether the expected and actual outputs match or not, or if there is an error in execution.
sourcepub fn intent_match_result(self, input: TestResultMatchStatus) -> Self
pub fn intent_match_result(self, input: TestResultMatchStatus) -> Self
Specifies whether the expected and actual intents match or not.
sourcepub fn set_intent_match_result(
self,
input: Option<TestResultMatchStatus>
) -> Self
pub fn set_intent_match_result( self, input: Option<TestResultMatchStatus> ) -> Self
Specifies whether the expected and actual intents match or not.
sourcepub fn get_intent_match_result(&self) -> &Option<TestResultMatchStatus>
pub fn get_intent_match_result(&self) -> &Option<TestResultMatchStatus>
Specifies whether the expected and actual intents match or not.
sourcepub fn slot_match_result(self, input: TestResultMatchStatus) -> Self
pub fn slot_match_result(self, input: TestResultMatchStatus) -> Self
Specifies whether the expected and actual slots match or not.
sourcepub fn set_slot_match_result(self, input: Option<TestResultMatchStatus>) -> Self
pub fn set_slot_match_result(self, input: Option<TestResultMatchStatus>) -> Self
Specifies whether the expected and actual slots match or not.
sourcepub fn get_slot_match_result(&self) -> &Option<TestResultMatchStatus>
pub fn get_slot_match_result(&self) -> &Option<TestResultMatchStatus>
Specifies whether the expected and actual slots match or not.
sourcepub fn speech_transcription_result(self, input: TestResultMatchStatus) -> Self
pub fn speech_transcription_result(self, input: TestResultMatchStatus) -> Self
Specifies whether the expected and actual speech transcriptions match or not, or if there is an error in execution.
sourcepub fn set_speech_transcription_result(
self,
input: Option<TestResultMatchStatus>
) -> Self
pub fn set_speech_transcription_result( self, input: Option<TestResultMatchStatus> ) -> Self
Specifies whether the expected and actual speech transcriptions match or not, or if there is an error in execution.
sourcepub fn get_speech_transcription_result(&self) -> &Option<TestResultMatchStatus>
pub fn get_speech_transcription_result(&self) -> &Option<TestResultMatchStatus>
Specifies whether the expected and actual speech transcriptions match or not, or if there is an error in execution.
sourcepub fn conversation_level_result(
self,
input: ConversationLevelResultDetail
) -> Self
pub fn conversation_level_result( self, input: ConversationLevelResultDetail ) -> Self
Contains information about the results related to the conversation associated with the user turn.
sourcepub fn set_conversation_level_result(
self,
input: Option<ConversationLevelResultDetail>
) -> Self
pub fn set_conversation_level_result( self, input: Option<ConversationLevelResultDetail> ) -> Self
Contains information about the results related to the conversation associated with the user turn.
sourcepub fn get_conversation_level_result(
&self
) -> &Option<ConversationLevelResultDetail>
pub fn get_conversation_level_result( &self ) -> &Option<ConversationLevelResultDetail>
Contains information about the results related to the conversation associated with the user turn.
sourcepub fn build(self) -> UserTurnResult
pub fn build(self) -> UserTurnResult
Consumes the builder and constructs a UserTurnResult.
Trait Implementations§
source§impl Clone for UserTurnResultBuilder
impl Clone for UserTurnResultBuilder
source§fn clone(&self) -> UserTurnResultBuilder
fn clone(&self) -> UserTurnResultBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UserTurnResultBuilder
impl Debug for UserTurnResultBuilder
source§impl Default for UserTurnResultBuilder
impl Default for UserTurnResultBuilder
source§fn default() -> UserTurnResultBuilder
fn default() -> UserTurnResultBuilder
source§impl PartialEq for UserTurnResultBuilder
impl PartialEq for UserTurnResultBuilder
source§fn eq(&self, other: &UserTurnResultBuilder) -> bool
fn eq(&self, other: &UserTurnResultBuilder) -> bool
self and other values to be equal, and is used
by ==.