Class ExecuteDefaultPolicyWithInputRequest.Builder
- java.lang.Object
-
- com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputRequest.Builder
-
- Enclosing class:
- ExecuteDefaultPolicyWithInputRequest
public static final class ExecuteDefaultPolicyWithInputRequest.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecuteDefaultPolicyWithInputRequest.Builder
acceptEncoding(GzipAcceptEncoding acceptEncoding)
Indicates the server should respond with a gzip encoded body.ExecuteDefaultPolicyWithInputRequest.Builder
acceptEncoding(java.util.Optional<? extends GzipAcceptEncoding> acceptEncoding)
Indicates the server should respond with a gzip encoded body.ExecuteDefaultPolicyWithInputRequest
build()
ExecuteDefaultPolicyWithInputRequest.Builder
input(Input input)
The input documentExecuteDefaultPolicyWithInputRequest.Builder
pretty(boolean pretty)
If parameter is `true`, response will formatted for humans.ExecuteDefaultPolicyWithInputRequest.Builder
pretty(java.util.Optional<java.lang.Boolean> pretty)
If parameter is `true`, response will formatted for humans.
-
-
-
Method Detail
-
pretty
public ExecuteDefaultPolicyWithInputRequest.Builder pretty(boolean pretty)
If parameter is `true`, response will formatted for humans.
-
pretty
public ExecuteDefaultPolicyWithInputRequest.Builder pretty(java.util.Optional<java.lang.Boolean> pretty)
If parameter is `true`, response will formatted for humans.
-
acceptEncoding
public ExecuteDefaultPolicyWithInputRequest.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 ExecuteDefaultPolicyWithInputRequest.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
-
input
public ExecuteDefaultPolicyWithInputRequest.Builder input(Input input)
The input document
-
build
public ExecuteDefaultPolicyWithInputRequest build()
-
-