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 part of the user's response to the slot elicitation that Amazon Lex V2 determines is relevant to the slot value.

      Parameters:
      originalValue - The part of the user's response to the slot elicitation that Amazon Lex V2 determines is relevant to the slot value.
      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, given the user input. 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, given the user input. 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 values that Amazon Lex V2 determines are possible resolutions for the user input. The first value matches the interpretedValue.

      Parameters:
      resolvedValues - A list of values that Amazon Lex V2 determines are possible resolutions for the user input. The first value matches the interpretedValue.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resolvedValues

      Value.Builder resolvedValues(String... resolvedValues)

      A list of values that Amazon Lex V2 determines are possible resolutions for the user input. The first value matches the interpretedValue.

      Parameters:
      resolvedValues - A list of values that Amazon Lex V2 determines are possible resolutions for the user input. The first value matches the interpretedValue.
      Returns:
      Returns a reference to this object so that method calls can be chained together.