Class PromptQueryData.Builder
java.lang.Object
de.xima.fc.prompt.mgmt.service.PromptQueryData.Builder
- Enclosing class:
PromptQueryData
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds thePromptQueryDatainstance.connection(PromptObjectIdentifier connection) Sets the prompt connection used by this query.description(String description) Sets the internal description of the prompt query.Sets the name of the prompt query.scope(PromptScope scope) Sets the scope (assignee) of the prompt query.Sets the UUID of the prompt query.
-
Method Details
-
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.
-
build
-
connection
Sets the prompt connection used by this query.- Parameters:
connection- The prompt connection.- Returns:
- The builder.
-
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
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
Sets the UUID of the prompt query. The UUID is unique only within the assigned scope.- Parameters:
uuid- The UUID.- Returns:
- The builder.
-