Interface DescribeTestExecutionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeTestExecutionResponse.Builder,
,DescribeTestExecutionResponse> LexModelsV2Response.Builder
,SdkBuilder<DescribeTestExecutionResponse.Builder,
,DescribeTestExecutionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeTestExecutionResponse
-
Method Summary
Modifier and TypeMethodDescriptionIndicates whether we use streaming or non-streaming APIs are used for the test set execution.apiMode
(TestExecutionApiMode apiMode) Indicates whether we use streaming or non-streaming APIs are used for the test set execution.creationDateTime
(Instant creationDateTime) The execution creation date and time for the test set execution.failureReasons
(String... failureReasons) Reasons for the failure of the test set execution.failureReasons
(Collection<String> failureReasons) Reasons for the failure of the test set execution.lastUpdatedDateTime
(Instant lastUpdatedDateTime) The date and time of the last update for the execution.target
(Consumer<TestExecutionTarget.Builder> target) The target bot for the test set execution details.target
(TestExecutionTarget target) The target bot for the test set execution details.testExecutionId
(String testExecutionId) The execution Id for the test set execution.testExecutionModality
(String testExecutionModality) Indicates whether test set is audio or text.testExecutionModality
(TestExecutionModality testExecutionModality) Indicates whether test set is audio or text.testExecutionStatus
(String testExecutionStatus) The test execution status for the test execution.testExecutionStatus
(TestExecutionStatus testExecutionStatus) The test execution status for the test execution.The test set Id for the test set execution.testSetName
(String testSetName) The test set name of 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 Details
-
testExecutionId
The execution Id for the test set execution.
- Parameters:
testExecutionId
- The execution Id for the test set execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDateTime
The execution creation date and time for the test set execution.
- Parameters:
creationDateTime
- The execution creation date and time for the test set execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedDateTime
The date and time of the last update for the execution.
- Parameters:
lastUpdatedDateTime
- The date and time of the last update for the execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testExecutionStatus
The test execution status for the test execution.
- Parameters:
testExecutionStatus
- The test execution status for the test execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
testExecutionStatus
The test execution status for the test execution.
- Parameters:
testExecutionStatus
- The test execution status for the test execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
testSetName
The test set name of the test set execution.
- Parameters:
testSetName
- The test set name of the test set execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
The target bot for the test set execution details.
- Parameters:
target
- The target bot for the test set execution details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
The target bot for the test set execution details.
This is a convenience method that creates an instance of theTestExecutionTarget.Builder
avoiding the need to create one manually viaTestExecutionTarget.builder()
.When the
Consumer
completes,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:
-
apiMode
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
andRecognizeText
Amazon Lex Runtime API is used.- Parameters:
apiMode
- 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
andRecognizeText
Amazon Lex Runtime API is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
apiMode
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
andRecognizeText
Amazon Lex Runtime API is used.- Parameters:
apiMode
- 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
andRecognizeText
Amazon Lex Runtime API is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
testExecutionModality
Indicates whether test set is audio or text.
- Parameters:
testExecutionModality
- Indicates whether test set is audio or text.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
testExecutionModality
DescribeTestExecutionResponse.Builder testExecutionModality(TestExecutionModality testExecutionModality) Indicates whether test set is audio or text.
- Parameters:
testExecutionModality
- Indicates whether test set is audio or text.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureReasons
Reasons for the failure of the test set execution.
- Parameters:
failureReasons
- Reasons for the failure of the test set execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReasons
Reasons for the failure of the test set execution.
- Parameters:
failureReasons
- Reasons for the failure of the test set execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-