Struct aws_sdk_lexmodelsv2::operation::describe_test_execution::builders::DescribeTestExecutionOutputBuilder
source · #[non_exhaustive]pub struct DescribeTestExecutionOutputBuilder { /* private fields */ }Expand description
A builder for DescribeTestExecutionOutput.
Implementations§
source§impl DescribeTestExecutionOutputBuilder
impl DescribeTestExecutionOutputBuilder
sourcepub fn test_execution_id(self, input: impl Into<String>) -> Self
pub fn test_execution_id(self, input: impl Into<String>) -> Self
The execution Id for the test set execution.
sourcepub fn set_test_execution_id(self, input: Option<String>) -> Self
pub fn set_test_execution_id(self, input: Option<String>) -> Self
The execution Id for the test set execution.
sourcepub fn get_test_execution_id(&self) -> &Option<String>
pub fn get_test_execution_id(&self) -> &Option<String>
The execution Id for the test set execution.
sourcepub fn creation_date_time(self, input: DateTime) -> Self
pub fn creation_date_time(self, input: DateTime) -> Self
The execution creation date and time for the test set execution.
sourcepub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
The execution creation date and time for the test set execution.
sourcepub fn get_creation_date_time(&self) -> &Option<DateTime>
pub fn get_creation_date_time(&self) -> &Option<DateTime>
The execution creation date and time for the test set execution.
sourcepub fn last_updated_date_time(self, input: DateTime) -> Self
pub fn last_updated_date_time(self, input: DateTime) -> Self
The date and time of the last update for the execution.
sourcepub fn set_last_updated_date_time(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_date_time(self, input: Option<DateTime>) -> Self
The date and time of the last update for the execution.
sourcepub fn get_last_updated_date_time(&self) -> &Option<DateTime>
pub fn get_last_updated_date_time(&self) -> &Option<DateTime>
The date and time of the last update for the execution.
sourcepub fn test_execution_status(self, input: TestExecutionStatus) -> Self
pub fn test_execution_status(self, input: TestExecutionStatus) -> Self
The test execution status for the test execution.
sourcepub fn set_test_execution_status(
self,
input: Option<TestExecutionStatus>,
) -> Self
pub fn set_test_execution_status( self, input: Option<TestExecutionStatus>, ) -> Self
The test execution status for the test execution.
sourcepub fn get_test_execution_status(&self) -> &Option<TestExecutionStatus>
pub fn get_test_execution_status(&self) -> &Option<TestExecutionStatus>
The test execution status for the test execution.
sourcepub fn test_set_id(self, input: impl Into<String>) -> Self
pub fn test_set_id(self, input: impl Into<String>) -> Self
The test set Id for the test set execution.
sourcepub fn set_test_set_id(self, input: Option<String>) -> Self
pub fn set_test_set_id(self, input: Option<String>) -> Self
The test set Id for the test set execution.
sourcepub fn get_test_set_id(&self) -> &Option<String>
pub fn get_test_set_id(&self) -> &Option<String>
The test set Id for the test set execution.
sourcepub fn test_set_name(self, input: impl Into<String>) -> Self
pub fn test_set_name(self, input: impl Into<String>) -> Self
The test set name of the test set execution.
sourcepub fn set_test_set_name(self, input: Option<String>) -> Self
pub fn set_test_set_name(self, input: Option<String>) -> Self
The test set name of the test set execution.
sourcepub fn get_test_set_name(&self) -> &Option<String>
pub fn get_test_set_name(&self) -> &Option<String>
The test set name of the test set execution.
sourcepub fn target(self, input: TestExecutionTarget) -> Self
pub fn target(self, input: TestExecutionTarget) -> Self
The target bot for the test set execution details.
sourcepub fn set_target(self, input: Option<TestExecutionTarget>) -> Self
pub fn set_target(self, input: Option<TestExecutionTarget>) -> Self
The target bot for the test set execution details.
sourcepub fn get_target(&self) -> &Option<TestExecutionTarget>
pub fn get_target(&self) -> &Option<TestExecutionTarget>
The target bot for the test set execution details.
sourcepub fn api_mode(self, input: TestExecutionApiMode) -> Self
pub fn api_mode(self, input: TestExecutionApiMode) -> Self
Indicates whether we use streaming or non-streaming APIs are used for the test set execution. For streaming, StartConversation Amazon Lex Runtime API is used. Whereas for non-streaming, RecognizeUtterance and RecognizeText Amazon Lex Runtime API is used.
sourcepub fn set_api_mode(self, input: Option<TestExecutionApiMode>) -> Self
pub fn set_api_mode(self, input: Option<TestExecutionApiMode>) -> Self
Indicates whether we use streaming or non-streaming APIs are used for the test set execution. For streaming, StartConversation Amazon Lex Runtime API is used. Whereas for non-streaming, RecognizeUtterance and RecognizeText Amazon Lex Runtime API is used.
sourcepub fn get_api_mode(&self) -> &Option<TestExecutionApiMode>
pub fn get_api_mode(&self) -> &Option<TestExecutionApiMode>
Indicates whether we use streaming or non-streaming APIs are used for the test set execution. For streaming, StartConversation Amazon Lex Runtime API is used. Whereas for non-streaming, RecognizeUtterance and RecognizeText Amazon Lex Runtime API is used.
sourcepub fn test_execution_modality(self, input: TestExecutionModality) -> Self
pub fn test_execution_modality(self, input: TestExecutionModality) -> Self
Indicates whether test set is audio or text.
sourcepub fn set_test_execution_modality(
self,
input: Option<TestExecutionModality>,
) -> Self
pub fn set_test_execution_modality( self, input: Option<TestExecutionModality>, ) -> Self
Indicates whether test set is audio or text.
sourcepub fn get_test_execution_modality(&self) -> &Option<TestExecutionModality>
pub fn get_test_execution_modality(&self) -> &Option<TestExecutionModality>
Indicates whether test set is audio or text.
sourcepub fn failure_reasons(self, input: impl Into<String>) -> Self
pub fn failure_reasons(self, input: impl Into<String>) -> Self
Appends an item to failure_reasons.
To override the contents of this collection use set_failure_reasons.
Reasons for the failure of the test set execution.
sourcepub fn set_failure_reasons(self, input: Option<Vec<String>>) -> Self
pub fn set_failure_reasons(self, input: Option<Vec<String>>) -> Self
Reasons for the failure of the test set execution.
sourcepub fn get_failure_reasons(&self) -> &Option<Vec<String>>
pub fn get_failure_reasons(&self) -> &Option<Vec<String>>
Reasons for the failure of the test set execution.
sourcepub fn build(self) -> DescribeTestExecutionOutput
pub fn build(self) -> DescribeTestExecutionOutput
Consumes the builder and constructs a DescribeTestExecutionOutput.
Trait Implementations§
source§impl Clone for DescribeTestExecutionOutputBuilder
impl Clone for DescribeTestExecutionOutputBuilder
source§fn clone(&self) -> DescribeTestExecutionOutputBuilder
fn clone(&self) -> DescribeTestExecutionOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DescribeTestExecutionOutputBuilder
impl Default for DescribeTestExecutionOutputBuilder
source§fn default() -> DescribeTestExecutionOutputBuilder
fn default() -> DescribeTestExecutionOutputBuilder
source§impl PartialEq for DescribeTestExecutionOutputBuilder
impl PartialEq for DescribeTestExecutionOutputBuilder
source§fn eq(&self, other: &DescribeTestExecutionOutputBuilder) -> bool
fn eq(&self, other: &DescribeTestExecutionOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DescribeTestExecutionOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeTestExecutionOutputBuilder
impl RefUnwindSafe for DescribeTestExecutionOutputBuilder
impl Send for DescribeTestExecutionOutputBuilder
impl Sync for DescribeTestExecutionOutputBuilder
impl Unpin for DescribeTestExecutionOutputBuilder
impl UnwindSafe for DescribeTestExecutionOutputBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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