Interface GetBuiltinIntentResponse.Builder

  • Method Details

    • signature

      The unique identifier for a built-in intent.

      Parameters:
      signature - The unique identifier for a built-in intent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • supportedLocalesWithStrings

      GetBuiltinIntentResponse.Builder supportedLocalesWithStrings(Collection<String> supportedLocales)

      A list of locales that the intent supports.

      Parameters:
      supportedLocales - A list of locales that the intent supports.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • supportedLocalesWithStrings

      GetBuiltinIntentResponse.Builder supportedLocalesWithStrings(String... supportedLocales)

      A list of locales that the intent supports.

      Parameters:
      supportedLocales - A list of locales that the intent supports.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • supportedLocales

      GetBuiltinIntentResponse.Builder supportedLocales(Collection<Locale> supportedLocales)

      A list of locales that the intent supports.

      Parameters:
      supportedLocales - A list of locales that the intent supports.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • supportedLocales

      GetBuiltinIntentResponse.Builder supportedLocales(Locale... supportedLocales)

      A list of locales that the intent supports.

      Parameters:
      supportedLocales - A list of locales that the intent supports.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • slots

      An array of BuiltinIntentSlot objects, one entry for each slot type in the intent.

      Parameters:
      slots - An array of BuiltinIntentSlot objects, one entry for each slot type in the intent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • slots

      An array of BuiltinIntentSlot objects, one entry for each slot type in the intent.

      Parameters:
      slots - An array of BuiltinIntentSlot objects, one entry for each slot type in the intent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • slots

      An array of BuiltinIntentSlot objects, one entry for each slot type in the intent.

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

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

      Parameters:
      slots - a consumer that will call methods on BuiltinIntentSlot.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: