Interface RuntimeHints.Builder

All Superinterfaces:
Buildable, CopyableBuilder<RuntimeHints.Builder,RuntimeHints>, SdkBuilder<RuntimeHints.Builder,RuntimeHints>, SdkPojo
Enclosing class:
RuntimeHints

public static interface RuntimeHints.Builder extends SdkPojo, CopyableBuilder<RuntimeHints.Builder,RuntimeHints>
  • Method Details

    • slotHints

      RuntimeHints.Builder slotHints(Map<String,? extends Map<String,RuntimeHintDetails>> slotHints)

      A list of the slots in the intent that should have runtime hints added, and the phrases that should be added for each slot.

      The first level of the slotHints map is the name of the intent. The second level is the name of the slot within the intent. For more information, see Using hints to improve accuracy.

      The intent name and slot name must exist.

      Parameters:
      slotHints - A list of the slots in the intent that should have runtime hints added, and the phrases that should be added for each slot.

      The first level of the slotHints map is the name of the intent. The second level is the name of the slot within the intent. For more information, see Using hints to improve accuracy.

      The intent name and slot name must exist.

      Returns:
      Returns a reference to this object so that method calls can be chained together.