Interface StartTestExecutionResponse.Builder

  • Method Details

    • 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

      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

      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

      The target bot for the test set execution.

      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 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:
    • 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:
    • 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

      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: