Struct aws_sdk_lexmodelsv2::operation::start_test_execution::builders::StartTestExecutionFluentBuilder
source · pub struct StartTestExecutionFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to StartTestExecution
.
The action to start test set execution.
Implementations§
source§impl StartTestExecutionFluentBuilder
impl StartTestExecutionFluentBuilder
sourcepub fn as_input(&self) -> &StartTestExecutionInputBuilder
pub fn as_input(&self) -> &StartTestExecutionInputBuilder
Access the StartTestExecution as a reference.
sourcepub async fn send(
self
) -> Result<StartTestExecutionOutput, SdkError<StartTestExecutionError, HttpResponse>>
pub async fn send( self ) -> Result<StartTestExecutionOutput, SdkError<StartTestExecutionError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<StartTestExecutionOutput, StartTestExecutionError, Self>
pub fn customize( self ) -> CustomizableOperation<StartTestExecutionOutput, StartTestExecutionError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 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 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 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.
Trait Implementations§
source§impl Clone for StartTestExecutionFluentBuilder
impl Clone for StartTestExecutionFluentBuilder
source§fn clone(&self) -> StartTestExecutionFluentBuilder
fn clone(&self) -> StartTestExecutionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more