Interface SlotSummary.Builder

    • Method Detail

      • slotId

        SlotSummary.Builder slotId​(String slotId)

        The unique identifier of the slot.

        Parameters:
        slotId - The unique identifier of the slot.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • slotName

        SlotSummary.Builder slotName​(String slotName)

        The name given to the slot.

        Parameters:
        slotName - The name given to the slot.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        SlotSummary.Builder description​(String description)

        The description of the slot.

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

        SlotSummary.Builder slotConstraint​(String slotConstraint)

        Whether the slot is required or optional. An intent is complete when all required slots are filled.

        Parameters:
        slotConstraint - Whether the slot is required or optional. An intent is complete when all required slots are filled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SlotConstraint, SlotConstraint
      • slotConstraint

        SlotSummary.Builder slotConstraint​(SlotConstraint slotConstraint)

        Whether the slot is required or optional. An intent is complete when all required slots are filled.

        Parameters:
        slotConstraint - Whether the slot is required or optional. An intent is complete when all required slots are filled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SlotConstraint, SlotConstraint
      • slotTypeId

        SlotSummary.Builder slotTypeId​(String slotTypeId)

        The unique identifier for the slot type that defines the values for the slot.

        Parameters:
        slotTypeId - The unique identifier for the slot type that defines the values for the slot.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • valueElicitationPromptSpecification

        SlotSummary.Builder valueElicitationPromptSpecification​(PromptSpecification valueElicitationPromptSpecification)

        Prompts that are sent to the user to elicit a value for the slot.

        Parameters:
        valueElicitationPromptSpecification - Prompts that are sent to the user to elicit a value for the slot.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdatedDateTime

        SlotSummary.Builder lastUpdatedDateTime​(Instant lastUpdatedDateTime)

        The timestamp of the last date and time that the slot was updated.

        Parameters:
        lastUpdatedDateTime - The timestamp of the last date and time that the slot was updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.