Interface SlotValueOverride.Builder

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

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

    • shape

      When the shape value is List, it indicates that the values field contains a list of slot values. When the value is Scalar, it indicates that the value field contains a single value.

      Parameters:
      shape - When the shape value is List, it indicates that the values field contains a list of slot values. When the value is Scalar, it indicates that the value field contains a single value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • shape

      When the shape value is List, it indicates that the values field contains a list of slot values. When the value is Scalar, it indicates that the value field contains a single value.

      Parameters:
      shape - When the shape value is List, it indicates that the values field contains a list of slot values. When the value is Scalar, it indicates that the value field contains a single value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • value

      The current value of the slot.

      Parameters:
      value - The current value of the slot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • value

      The current value of the slot.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to value(SlotValue).

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

      A list of one or more values that the user provided for the slot. For example, for a slot that elicits pizza toppings, the values might be "pepperoni" and "pineapple."

      Parameters:
      values - A list of one or more values that the user provided for the slot. For example, for a slot that elicits pizza toppings, the values might be "pepperoni" and "pineapple."
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • values

      A list of one or more values that the user provided for the slot. For example, for a slot that elicits pizza toppings, the values might be "pepperoni" and "pineapple."

      Parameters:
      values - A list of one or more values that the user provided for the slot. For example, for a slot that elicits pizza toppings, the values might be "pepperoni" and "pineapple."
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • values

      A list of one or more values that the user provided for the slot. For example, for a slot that elicits pizza toppings, the values might be "pepperoni" and "pineapple."

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

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

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