Struct aws_sdk_lexmodelsv2::operation::start_test_execution::builders::StartTestExecutionOutputBuilder
source · #[non_exhaustive]pub struct StartTestExecutionOutputBuilder { /* private fields */ }
Expand description
A builder for StartTestExecutionOutput
.
Implementations§
source§impl StartTestExecutionOutputBuilder
impl StartTestExecutionOutputBuilder
sourcepub fn test_execution_id(self, input: impl Into<String>) -> Self
pub fn test_execution_id(self, input: impl Into<String>) -> Self
The unique identifier of 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 unique identifier of the test set execution.
sourcepub fn get_test_execution_id(&self) -> &Option<String>
pub fn get_test_execution_id(&self) -> &Option<String>
The unique identifier of the test set execution.
sourcepub fn creation_date_time(self, input: DateTime) -> Self
pub fn creation_date_time(self, input: DateTime) -> Self
The 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 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 creation date and time for the test set 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 target(self, input: TestExecutionTarget) -> Self
pub fn target(self, input: TestExecutionTarget) -> Self
The target bot for the test set execution.
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.
sourcepub fn get_target(&self) -> &Option<TestExecutionTarget>
pub fn get_target(&self) -> &Option<TestExecutionTarget>
The target bot for the test set execution.
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 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 are 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 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 are 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 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 are used.
sourcepub fn test_execution_modality(self, input: TestExecutionModality) -> Self
pub fn test_execution_modality(self, input: TestExecutionModality) -> Self
Indicates whether audio or text is used.
sourcepub fn set_test_execution_modality(
self,
input: Option<TestExecutionModality>
) -> Self
pub fn set_test_execution_modality( self, input: Option<TestExecutionModality> ) -> Self
Indicates whether audio or text is used.
sourcepub fn get_test_execution_modality(&self) -> &Option<TestExecutionModality>
pub fn get_test_execution_modality(&self) -> &Option<TestExecutionModality>
Indicates whether audio or text is used.
sourcepub fn build(self) -> StartTestExecutionOutput
pub fn build(self) -> StartTestExecutionOutput
Consumes the builder and constructs a StartTestExecutionOutput
.
Trait Implementations§
source§impl Clone for StartTestExecutionOutputBuilder
impl Clone for StartTestExecutionOutputBuilder
source§fn clone(&self) -> StartTestExecutionOutputBuilder
fn clone(&self) -> StartTestExecutionOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for StartTestExecutionOutputBuilder
impl Default for StartTestExecutionOutputBuilder
source§fn default() -> StartTestExecutionOutputBuilder
fn default() -> StartTestExecutionOutputBuilder
source§impl PartialEq for StartTestExecutionOutputBuilder
impl PartialEq for StartTestExecutionOutputBuilder
source§fn eq(&self, other: &StartTestExecutionOutputBuilder) -> bool
fn eq(&self, other: &StartTestExecutionOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.