Class ExecuteBatchPolicyWithInputRequest.Builder
- java.lang.Object
-
- com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest.Builder
-
- Enclosing class:
- ExecuteBatchPolicyWithInputRequest
public static final class ExecuteBatchPolicyWithInputRequest.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecuteBatchPolicyWithInputRequest.Builder
acceptEncoding(GzipAcceptEncoding acceptEncoding)
Indicates the server should respond with a gzip encoded body.ExecuteBatchPolicyWithInputRequest.Builder
acceptEncoding(java.util.Optional<? extends GzipAcceptEncoding> acceptEncoding)
Indicates the server should respond with a gzip encoded body.ExecuteBatchPolicyWithInputRequest
build()
ExecuteBatchPolicyWithInputRequest.Builder
contentEncoding(GzipContentEncoding contentEncoding)
Indicates that the request body is gzip encodedExecuteBatchPolicyWithInputRequest.Builder
contentEncoding(java.util.Optional<? extends GzipContentEncoding> contentEncoding)
Indicates that the request body is gzip encodedExecuteBatchPolicyWithInputRequest.Builder
explain(Explain explain)
Return query explanation in addition to result.ExecuteBatchPolicyWithInputRequest.Builder
explain(java.util.Optional<? extends Explain> explain)
Return query explanation in addition to result.ExecuteBatchPolicyWithInputRequest.Builder
instrument(boolean instrument)
Instrument query evaluation and return a superset of performance metrics in addition to result.ExecuteBatchPolicyWithInputRequest.Builder
instrument(java.util.Optional<java.lang.Boolean> instrument)
Instrument query evaluation and return a superset of performance metrics in addition to result.ExecuteBatchPolicyWithInputRequest.Builder
metrics(boolean metrics)
Return query performance metrics in addition to result.ExecuteBatchPolicyWithInputRequest.Builder
metrics(java.util.Optional<java.lang.Boolean> metrics)
Return query performance metrics in addition to result.ExecuteBatchPolicyWithInputRequest.Builder
path(java.lang.String path)
The path separator is used to access values inside object and array documents.ExecuteBatchPolicyWithInputRequest.Builder
pretty(boolean pretty)
If parameter is `true`, response will formatted for humans.ExecuteBatchPolicyWithInputRequest.Builder
pretty(java.util.Optional<java.lang.Boolean> pretty)
If parameter is `true`, response will formatted for humans.ExecuteBatchPolicyWithInputRequest.Builder
provenance(boolean provenance)
If parameter is true, response will include build/version info in addition to the result.ExecuteBatchPolicyWithInputRequest.Builder
provenance(java.util.Optional<java.lang.Boolean> provenance)
If parameter is true, response will include build/version info in addition to the result.ExecuteBatchPolicyWithInputRequest.Builder
requestBody(ExecuteBatchPolicyWithInputRequestBody requestBody)
The batch of inputsExecuteBatchPolicyWithInputRequest.Builder
strictBuiltinErrors(boolean strictBuiltinErrors)
Treat built-in function call errors as fatal and return an error immediately.ExecuteBatchPolicyWithInputRequest.Builder
strictBuiltinErrors(java.util.Optional<java.lang.Boolean> strictBuiltinErrors)
Treat built-in function call errors as fatal and return an error immediately.
-
-
-
Method Detail
-
path
public ExecuteBatchPolicyWithInputRequest.Builder path(java.lang.String 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.
-
contentEncoding
public ExecuteBatchPolicyWithInputRequest.Builder contentEncoding(GzipContentEncoding contentEncoding)
Indicates that the request body is gzip encoded
-
contentEncoding
public ExecuteBatchPolicyWithInputRequest.Builder contentEncoding(java.util.Optional<? extends GzipContentEncoding> contentEncoding)
Indicates that the request body is gzip encoded
-
acceptEncoding
public ExecuteBatchPolicyWithInputRequest.Builder acceptEncoding(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
-
acceptEncoding
public ExecuteBatchPolicyWithInputRequest.Builder acceptEncoding(java.util.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
public ExecuteBatchPolicyWithInputRequest.Builder pretty(boolean pretty)
If parameter is `true`, response will formatted for humans.
-
pretty
public ExecuteBatchPolicyWithInputRequest.Builder pretty(java.util.Optional<java.lang.Boolean> pretty)
If parameter is `true`, response will formatted for humans.
-
provenance
public ExecuteBatchPolicyWithInputRequest.Builder provenance(boolean provenance)
If parameter is true, response will include build/version info in addition to the result.
-
provenance
public ExecuteBatchPolicyWithInputRequest.Builder provenance(java.util.Optional<java.lang.Boolean> provenance)
If parameter is true, response will include build/version info in addition to the result.
-
explain
public ExecuteBatchPolicyWithInputRequest.Builder explain(Explain explain)
Return query explanation in addition to result.
-
explain
public ExecuteBatchPolicyWithInputRequest.Builder explain(java.util.Optional<? extends Explain> explain)
Return query explanation in addition to result.
-
metrics
public ExecuteBatchPolicyWithInputRequest.Builder metrics(boolean metrics)
Return query performance metrics in addition to result.
-
metrics
public ExecuteBatchPolicyWithInputRequest.Builder metrics(java.util.Optional<java.lang.Boolean> metrics)
Return query performance metrics in addition to result.
-
instrument
public ExecuteBatchPolicyWithInputRequest.Builder instrument(boolean instrument)
Instrument query evaluation and return a superset of performance metrics in addition to result.
-
instrument
public ExecuteBatchPolicyWithInputRequest.Builder instrument(java.util.Optional<java.lang.Boolean> instrument)
Instrument query evaluation and return a superset of performance metrics in addition to result.
-
strictBuiltinErrors
public ExecuteBatchPolicyWithInputRequest.Builder strictBuiltinErrors(boolean strictBuiltinErrors)
Treat built-in function call errors as fatal and return an error immediately.
-
strictBuiltinErrors
public ExecuteBatchPolicyWithInputRequest.Builder strictBuiltinErrors(java.util.Optional<java.lang.Boolean> strictBuiltinErrors)
Treat built-in function call errors as fatal and return an error immediately.
-
requestBody
public ExecuteBatchPolicyWithInputRequest.Builder requestBody(ExecuteBatchPolicyWithInputRequestBody requestBody)
The batch of inputs
-
build
public ExecuteBatchPolicyWithInputRequest build()
-
-