Interface RuntimeHintDetails.Builder

    • Method Detail

      • runtimeHintValues

        RuntimeHintDetails.Builder runtimeHintValues​(Collection<RuntimeHintValue> runtimeHintValues)

        One or more strings that Amazon Lex V2 should look for in the input to the bot. Each phrase is given preference when deciding on slot values.

        Parameters:
        runtimeHintValues - One or more strings that Amazon Lex V2 should look for in the input to the bot. Each phrase is given preference when deciding on slot values.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • runtimeHintValues

        RuntimeHintDetails.Builder runtimeHintValues​(RuntimeHintValue... runtimeHintValues)

        One or more strings that Amazon Lex V2 should look for in the input to the bot. Each phrase is given preference when deciding on slot values.

        Parameters:
        runtimeHintValues - One or more strings that Amazon Lex V2 should look for in the input to the bot. Each phrase is given preference when deciding on slot values.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subSlotHints

        RuntimeHintDetails.Builder subSlotHints​(Map<String,​RuntimeHintDetails> subSlotHints)

        A map of constituent sub slot names inside a composite slot in the intent and the phrases that should be added for each sub slot. Inside each composite slot hints, this structure provides a mechanism to add granular sub slot phrases. Only sub slot hints are supported for composite slots. The intent name, composite slot name and the constituent sub slot names must exist.

        Parameters:
        subSlotHints - A map of constituent sub slot names inside a composite slot in the intent and the phrases that should be added for each sub slot. Inside each composite slot hints, this structure provides a mechanism to add granular sub slot phrases. Only sub slot hints are supported for composite slots. The intent name, composite slot name and the constituent sub slot names must exist.
        Returns:
        Returns a reference to this object so that method calls can be chained together.