Class WaitAndContinueSpecification

    • Method Detail

      • waitingResponse

        public final ResponseSpecification waitingResponse()

        The response that Amazon Lex sends to indicate that the bot is waiting for the conversation to continue.

        Returns:
        The response that Amazon Lex sends to indicate that the bot is waiting for the conversation to continue.
      • continueResponse

        public final ResponseSpecification continueResponse()

        The response that Amazon Lex sends to indicate that the bot is ready to continue the conversation.

        Returns:
        The response that Amazon Lex sends to indicate that the bot is ready to continue the conversation.
      • stillWaitingResponse

        public final StillWaitingResponseSpecification stillWaitingResponse()

        A response that Amazon Lex sends periodically to the user to indicate that the bot is still waiting for input from the user.

        Returns:
        A response that Amazon Lex sends periodically to the user to indicate that the bot is still waiting for input from the user.
      • active

        public final Boolean active()

        Specifies whether the bot will wait for a user to respond. When this field is false, wait and continue responses for a slot aren't used. If the active field isn't specified, the default is true.

        Returns:
        Specifies whether the bot will wait for a user to respond. When this field is false, wait and continue responses for a slot aren't used. If the active field isn't specified, the default is true.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)