Class PromptQueryData.Builder

    • Method Detail

      • scope

        @CanIgnoreReturnValue
        public PromptQueryData.Builder scope​(PromptScope scope)
        Sets the scope (assignee) of the prompt query. Defines the scope to which the query is assigned, e.g. the system or a tenant scope.
        Parameters:
        scope - The scope.
        Returns:
        The builder.
      • connection

        @CanIgnoreReturnValue
        public PromptQueryData.Builder connection​(PromptObjectIdentifier connection)
        Sets the prompt connection used by this query.
        Parameters:
        connection - The prompt connection.
        Returns:
        The builder.
      • description

        @CanIgnoreReturnValue
        public PromptQueryData.Builder description​(String description)
        Sets the internal description of the prompt query. The description should only be visible to backend users who configure the query, but not to end users.
        Parameters:
        description - The description of the prompt query.
        Returns:
        The builder.
      • name

        @CanIgnoreReturnValue
        public PromptQueryData.Builder name​(String name)
        Sets the name of the prompt query. The name is unique with the scope to which the query is assigned.
        Parameters:
        name - The name of the prompt query.
        Returns:
        The builder.
      • uuid

        @CanIgnoreReturnValue
        public PromptQueryData.Builder uuid​(UUID uuid)
        Sets the UUID of the prompt query. The UUID is unique only within the assigned scope.
        Parameters:
        uuid - The UUID.
        Returns:
        The builder.