Class ExecutePolicyRequest.Builder
java.lang.Object
com.styra.opa.openapi.models.operations.ExecutePolicyRequest.Builder
- Enclosing class:
- ExecutePolicyRequest
-
Method Summary
Modifier and TypeMethodDescriptionacceptEncoding
(GzipAcceptEncoding acceptEncoding) Indicates the server should respond with a gzip encoded body.acceptEncoding
(Optional<? extends GzipAcceptEncoding> acceptEncoding) Indicates the server should respond with a gzip encoded body.build()
Return query explanation in addition to result.Return query explanation in addition to result.instrument
(boolean instrument) Instrument query evaluation and return a superset of performance metrics in addition to result.instrument
(Optional<Boolean> instrument) Instrument query evaluation and return a superset of performance metrics in addition to result.metrics
(boolean metrics) Return query performance metrics in addition to result.Return query performance metrics in addition to result.The path separator is used to access values inside object and array documents.pretty
(boolean pretty) If parameter is `true`, response will formatted for humans.If parameter is `true`, response will formatted for humans.provenance
(boolean provenance) If parameter is true, response will include build/version info in addition to the result.provenance
(Optional<Boolean> provenance) If parameter is true, response will include build/version info in addition to the result.strictBuiltinErrors
(boolean strictBuiltinErrors) Treat built-in function call errors as fatal and return an error immediately.strictBuiltinErrors
(Optional<Boolean> strictBuiltinErrors) Treat built-in function call errors as fatal and return an error immediately.
-
Method Details
-
path
The path separator is used to access values inside object and array documents. If the path indexes into an array, the server will attempt to convert the array index to an integer. If the path element cannot be converted to an integer, the server will respond with 404. -
acceptEncoding
public ExecutePolicyRequest.Builder acceptEncoding(Optional<? extends GzipAcceptEncoding> acceptEncoding) Indicates the server should respond with a gzip encoded body. The server will send the compressed response only if its length is above `server.encoding.gzip.min_length` value. See the configuration section -
pretty
If parameter is `true`, response will formatted for humans. -
pretty
If parameter is `true`, response will formatted for humans. -
provenance
If parameter is true, response will include build/version info in addition to the result. -
provenance
If parameter is true, response will include build/version info in addition to the result. -
explain
Return query explanation in addition to result. -
metrics
Return query performance metrics in addition to result. -
metrics
Return query performance metrics in addition to result. -
instrument
Instrument query evaluation and return a superset of performance metrics in addition to result. -
instrument
Instrument query evaluation and return a superset of performance metrics in addition to result. -
strictBuiltinErrors
Treat built-in function call errors as fatal and return an error immediately. -
strictBuiltinErrors
Treat built-in function call errors as fatal and return an error immediately. -
build
-