Interface RuntimeHintDetails.Builder

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

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

    • 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.
    • runtimeHintValues

      RuntimeHintDetails.Builder runtimeHintValues(Consumer<RuntimeHintValue.Builder>... 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.

      This is a convenience method that creates an instance of the RuntimeHintValue.Builder avoiding the need to create one manually via RuntimeHintValue.builder() .

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to runtimeHintValues(List<RuntimeHintValue>).

      Parameters:
      runtimeHintValues - a consumer that will call methods on RuntimeHintValue.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.