Class DescribeTestExecutionResponse

    • Method Detail

      • testExecutionId

        public final String testExecutionId()

        The execution Id for the test set execution.

        Returns:
        The execution Id for the test set execution.
      • creationDateTime

        public final Instant creationDateTime()

        The execution creation date and time for the test set execution.

        Returns:
        The execution creation date and time for the test set execution.
      • lastUpdatedDateTime

        public final Instant lastUpdatedDateTime()

        The date and time of the last update for the execution.

        Returns:
        The date and time of the last update for the execution.
      • testSetId

        public final String testSetId()

        The test set Id for the test set execution.

        Returns:
        The test set Id for the test set execution.
      • testSetName

        public final String testSetName()

        The test set name of the test set execution.

        Returns:
        The test set name of the test set execution.
      • target

        public final TestExecutionTarget target()

        The target bot for the test set execution details.

        Returns:
        The target bot for the test set execution details.
      • apiMode

        public final TestExecutionApiMode 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.

        If the service returns an enum value that is not available in the current SDK version, apiMode will return TestExecutionApiMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from apiModeAsString().

        Returns:
        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.
        See Also:
        TestExecutionApiMode
      • apiModeAsString

        public final String apiModeAsString()

        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.

        If the service returns an enum value that is not available in the current SDK version, apiMode will return TestExecutionApiMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from apiModeAsString().

        Returns:
        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.
        See Also:
        TestExecutionApiMode
      • hasFailureReasons

        public final boolean hasFailureReasons()
        For responses, this returns true if the service returned a value for the FailureReasons property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
      • failureReasons

        public final List<String> failureReasons()

        Reasons for the failure of the test set execution.

        Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

        This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasFailureReasons() method.

        Returns:
        Reasons for the failure of the test set execution.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object