Interface StartTestExecutionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartTestExecutionRequest.Builder,StartTestExecutionRequest>,LexModelsV2Request.Builder,SdkBuilder<StartTestExecutionRequest.Builder,StartTestExecutionRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- StartTestExecutionRequest
public static interface StartTestExecutionRequest.Builder extends LexModelsV2Request.Builder, SdkPojo, CopyableBuilder<StartTestExecutionRequest.Builder,StartTestExecutionRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
testSetId
StartTestExecutionRequest.Builder testSetId(String testSetId)
The test set Id for the test set execution.
- Parameters:
testSetId- The test set Id for the test set execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
StartTestExecutionRequest.Builder target(TestExecutionTarget target)
The target bot for the test set execution.
- Parameters:
target- The target bot for the test set execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
default StartTestExecutionRequest.Builder target(Consumer<TestExecutionTarget.Builder> target)
The target bot for the test set execution.
This is a convenience method that creates an instance of theTestExecutionTarget.Builderavoiding the need to create one manually viaTestExecutionTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totarget(TestExecutionTarget).- Parameters:
target- a consumer that will call methods onTestExecutionTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
target(TestExecutionTarget)
-
apiMode
StartTestExecutionRequest.Builder apiMode(String apiMode)
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.
- Parameters:
apiMode- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TestExecutionApiMode,TestExecutionApiMode
-
apiMode
StartTestExecutionRequest.Builder apiMode(TestExecutionApiMode apiMode)
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.
- Parameters:
apiMode- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TestExecutionApiMode,TestExecutionApiMode
-
testExecutionModality
StartTestExecutionRequest.Builder testExecutionModality(String testExecutionModality)
Indicates whether audio or text is used.
- Parameters:
testExecutionModality- Indicates whether audio or text is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TestExecutionModality,TestExecutionModality
-
testExecutionModality
StartTestExecutionRequest.Builder testExecutionModality(TestExecutionModality testExecutionModality)
Indicates whether audio or text is used.
- Parameters:
testExecutionModality- Indicates whether audio or text is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TestExecutionModality,TestExecutionModality
-
overrideConfiguration
StartTestExecutionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartTestExecutionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-