Interface Value.Builder

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

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

    • originalValue

      Value.Builder originalValue(String originalValue)

      The text of the utterance from the user that was entered for the slot.

      Parameters:
      originalValue - The text of the utterance from the user that was entered for the slot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • interpretedValue

      Value.Builder interpretedValue(String interpretedValue)

      The value that Amazon Lex V2 determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex V2 choose the first value in the resolvedValues list.

      Parameters:
      interpretedValue - The value that Amazon Lex V2 determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex V2 choose the first value in the resolvedValues list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resolvedValues

      Value.Builder resolvedValues(Collection<String> resolvedValues)

      A list of additional values that have been recognized for the slot.

      Parameters:
      resolvedValues - A list of additional values that have been recognized for the slot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resolvedValues

      Value.Builder resolvedValues(String... resolvedValues)

      A list of additional values that have been recognized for the slot.

      Parameters:
      resolvedValues - A list of additional values that have been recognized for the slot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.