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 Details

    • 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

      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:
    • 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 the TestExecutionTarget.Builder avoiding the need to create one manually via TestExecutionTarget.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to target(TestExecutionTarget).

      Parameters:
      target - a consumer that will call methods on TestExecutionTarget.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 and RecognizeText 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 and RecognizeText 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 and RecognizeText 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 and RecognizeText Amazon Lex Runtime API is used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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

      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.