Class PromptQueryData
java.lang.Object
de.xima.fc.prompt.mgmt.service.PromptQueryData
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic PromptQueryData.Builderbuilder()Creates a new builder forPromptQueryData.Gets the prompt connection used by this query.static PromptQueryData.Builderderive(PromptQueryData data) Creates a new builder pre-configured with the data of the given instance.Gets the internal description of the prompt query.name()Gets the name of the prompt query.scope()Gets the scope (assignee) of the prompt query.uuid()Gets the UUID of the prompt query.
-
Method Details
-
scope
Gets the scope (assignee) of the prompt query. Defines the scope to which the query is assigned, e.g. the system or a tenant scope.- Returns:
- The scope.
-
connection
Gets the prompt connection used by this query.- Returns:
- The prompt connection.
-
description
Gets 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.- Returns:
- The description of the prompt query.
-
name
Gets the name of the prompt query. The name is unique with the scope to which the query is assigned.- Returns:
- The name of the prompt query.
-
uuid
Gets the UUID of the prompt query. The UUID is unique only within the assigned scope.- Returns:
- The UUID.
-
builder
Creates a new builder forPromptQueryData.- Returns:
- A new builder.
-
derive
Creates a new builder pre-configured with the data of the given instance.- Parameters:
data- The instance to copy data from.- Returns:
- A new builder.
-