Interface DescribeTestExecutionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeTestExecutionResponse.Builder,DescribeTestExecutionResponse>,LexModelsV2Response.Builder,SdkBuilder<DescribeTestExecutionResponse.Builder,DescribeTestExecutionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeTestExecutionResponse
public static interface DescribeTestExecutionResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<DescribeTestExecutionResponse.Builder,DescribeTestExecutionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeTestExecutionResponse.BuilderapiMode(String apiMode)Indicates whether we use streaming or non-streaming APIs are used for the test set execution.DescribeTestExecutionResponse.BuilderapiMode(TestExecutionApiMode apiMode)Indicates whether we use streaming or non-streaming APIs are used for the test set execution.DescribeTestExecutionResponse.BuildercreationDateTime(Instant creationDateTime)The execution creation date and time for the test set execution.DescribeTestExecutionResponse.BuilderfailureReasons(String... failureReasons)Reasons for the failure of the test set execution.DescribeTestExecutionResponse.BuilderfailureReasons(Collection<String> failureReasons)Reasons for the failure of the test set execution.DescribeTestExecutionResponse.BuilderlastUpdatedDateTime(Instant lastUpdatedDateTime)The date and time of the last update for the execution.default DescribeTestExecutionResponse.Buildertarget(Consumer<TestExecutionTarget.Builder> target)The target bot for the test set execution details.DescribeTestExecutionResponse.Buildertarget(TestExecutionTarget target)The target bot for the test set execution details.DescribeTestExecutionResponse.BuildertestExecutionId(String testExecutionId)The execution Id for the test set execution.DescribeTestExecutionResponse.BuildertestExecutionModality(String testExecutionModality)Indicates whether test set is audio or text.DescribeTestExecutionResponse.BuildertestExecutionModality(TestExecutionModality testExecutionModality)Indicates whether test set is audio or text.DescribeTestExecutionResponse.BuildertestExecutionStatus(String testExecutionStatus)The test execution status for the test execution.DescribeTestExecutionResponse.BuildertestExecutionStatus(TestExecutionStatus testExecutionStatus)The test execution status for the test execution.DescribeTestExecutionResponse.BuildertestSetId(String testSetId)The test set Id for the test set execution.DescribeTestExecutionResponse.BuildertestSetName(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 Detail
-
testExecutionId
DescribeTestExecutionResponse.Builder testExecutionId(String 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
DescribeTestExecutionResponse.Builder creationDateTime(Instant 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
DescribeTestExecutionResponse.Builder lastUpdatedDateTime(Instant 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
DescribeTestExecutionResponse.Builder testExecutionStatus(String 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,TestExecutionStatus
-
testExecutionStatus
DescribeTestExecutionResponse.Builder testExecutionStatus(TestExecutionStatus 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,TestExecutionStatus
-
testSetId
DescribeTestExecutionResponse.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.
-
testSetName
DescribeTestExecutionResponse.Builder testSetName(String 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
DescribeTestExecutionResponse.Builder target(TestExecutionTarget 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
default DescribeTestExecutionResponse.Builder target(Consumer<TestExecutionTarget.Builder> target)
The target bot for the test set execution details.
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
DescribeTestExecutionResponse.Builder apiMode(String apiMode)
Indicates whether we use streaming or non-streaming APIs are used for the test set execution. For streaming,
StartConversationAmazon Lex Runtime API is used. Whereas for non-streaming,RecognizeUtteranceandRecognizeTextAmazon 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,StartConversationAmazon Lex Runtime API is used. Whereas for non-streaming,RecognizeUtteranceandRecognizeTextAmazon Lex Runtime API is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TestExecutionApiMode,TestExecutionApiMode
-
apiMode
DescribeTestExecutionResponse.Builder apiMode(TestExecutionApiMode apiMode)
Indicates whether we use streaming or non-streaming APIs are used for the test set execution. For streaming,
StartConversationAmazon Lex Runtime API is used. Whereas for non-streaming,RecognizeUtteranceandRecognizeTextAmazon 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,StartConversationAmazon Lex Runtime API is used. Whereas for non-streaming,RecognizeUtteranceandRecognizeTextAmazon Lex Runtime API is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TestExecutionApiMode,TestExecutionApiMode
-
testExecutionModality
DescribeTestExecutionResponse.Builder testExecutionModality(String 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,TestExecutionModality
-
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:
TestExecutionModality,TestExecutionModality
-
failureReasons
DescribeTestExecutionResponse.Builder failureReasons(Collection<String> 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
DescribeTestExecutionResponse.Builder failureReasons(String... 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.
-
-