Interface StartTestExecutionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<StartTestExecutionResponse.Builder,StartTestExecutionResponse>,LexModelsV2Response.Builder,SdkBuilder<StartTestExecutionResponse.Builder,StartTestExecutionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- StartTestExecutionResponse
public static interface StartTestExecutionResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<StartTestExecutionResponse.Builder,StartTestExecutionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StartTestExecutionResponse.BuilderapiMode(String apiMode)Indicates whether we use streaming or non-streaming APIs for the test set execution.StartTestExecutionResponse.BuilderapiMode(TestExecutionApiMode apiMode)Indicates whether we use streaming or non-streaming APIs for the test set execution.StartTestExecutionResponse.BuildercreationDateTime(Instant creationDateTime)The creation date and time for the test set execution.default StartTestExecutionResponse.Buildertarget(Consumer<TestExecutionTarget.Builder> target)The target bot for the test set execution.StartTestExecutionResponse.Buildertarget(TestExecutionTarget target)The target bot for the test set execution.StartTestExecutionResponse.BuildertestExecutionId(String testExecutionId)The unique identifier of the test set execution.StartTestExecutionResponse.BuildertestExecutionModality(String testExecutionModality)Indicates whether audio or text is used.StartTestExecutionResponse.BuildertestExecutionModality(TestExecutionModality testExecutionModality)Indicates whether audio or text is used.StartTestExecutionResponse.BuildertestSetId(String testSetId)The test set Id for the test set execution.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
testExecutionId
StartTestExecutionResponse.Builder testExecutionId(String testExecutionId)
The unique identifier of the test set execution.
- Parameters:
testExecutionId- The unique identifier of the test set execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDateTime
StartTestExecutionResponse.Builder creationDateTime(Instant creationDateTime)
The creation date and time for the test set execution.
- Parameters:
creationDateTime- The creation date and time for the test set execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testSetId
StartTestExecutionResponse.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
StartTestExecutionResponse.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 StartTestExecutionResponse.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
StartTestExecutionResponse.Builder apiMode(String apiMode)
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.
- Parameters:
apiMode- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TestExecutionApiMode,TestExecutionApiMode
-
apiMode
StartTestExecutionResponse.Builder apiMode(TestExecutionApiMode apiMode)
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.
- Parameters:
apiMode- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TestExecutionApiMode,TestExecutionApiMode
-
testExecutionModality
StartTestExecutionResponse.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
StartTestExecutionResponse.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
-
-