Class ExecuteBatchPolicyWithInputResponse.Builder
- java.lang.Object
-
- com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputResponse.Builder
-
- Enclosing class:
- ExecuteBatchPolicyWithInputResponse
public static final class ExecuteBatchPolicyWithInputResponse.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecuteBatchPolicyWithInputResponse.Builder
batchMixedResults(BatchMixedResults batchMixedResults)
Mixed success and failures.ExecuteBatchPolicyWithInputResponse.Builder
batchMixedResults(java.util.Optional<? extends BatchMixedResults> batchMixedResults)
Mixed success and failures.ExecuteBatchPolicyWithInputResponse.Builder
batchSuccessfulPolicyEvaluation(BatchSuccessfulPolicyEvaluation batchSuccessfulPolicyEvaluation)
All batched policy executions succeeded.ExecuteBatchPolicyWithInputResponse.Builder
batchSuccessfulPolicyEvaluation(java.util.Optional<? extends BatchSuccessfulPolicyEvaluation> batchSuccessfulPolicyEvaluation)
All batched policy executions succeeded.ExecuteBatchPolicyWithInputResponse
build()
ExecuteBatchPolicyWithInputResponse.Builder
contentType(java.lang.String contentType)
HTTP response content type for this operationExecuteBatchPolicyWithInputResponse.Builder
headers(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
ExecuteBatchPolicyWithInputResponse.Builder
rawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)
Raw HTTP response; suitable for custom response parsingExecuteBatchPolicyWithInputResponse.Builder
statusCode(int statusCode)
HTTP response status code for this operation
-
-
-
Method Detail
-
contentType
public ExecuteBatchPolicyWithInputResponse.Builder contentType(java.lang.String contentType)
HTTP response content type for this operation
-
statusCode
public ExecuteBatchPolicyWithInputResponse.Builder statusCode(int statusCode)
HTTP response status code for this operation
-
rawResponse
public ExecuteBatchPolicyWithInputResponse.Builder rawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)
Raw HTTP response; suitable for custom response parsing
-
batchSuccessfulPolicyEvaluation
public ExecuteBatchPolicyWithInputResponse.Builder batchSuccessfulPolicyEvaluation(BatchSuccessfulPolicyEvaluation batchSuccessfulPolicyEvaluation)
All batched policy executions succeeded. The server also returns 200 if the path refers to an undefined document. In this case, responses will be empty.
-
batchSuccessfulPolicyEvaluation
public ExecuteBatchPolicyWithInputResponse.Builder batchSuccessfulPolicyEvaluation(java.util.Optional<? extends BatchSuccessfulPolicyEvaluation> batchSuccessfulPolicyEvaluation)
All batched policy executions succeeded. The server also returns 200 if the path refers to an undefined document. In this case, responses will be empty.
-
batchMixedResults
public ExecuteBatchPolicyWithInputResponse.Builder batchMixedResults(BatchMixedResults batchMixedResults)
Mixed success and failures.
-
batchMixedResults
public ExecuteBatchPolicyWithInputResponse.Builder batchMixedResults(java.util.Optional<? extends BatchMixedResults> batchMixedResults)
Mixed success and failures.
-
headers
public ExecuteBatchPolicyWithInputResponse.Builder headers(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
build
public ExecuteBatchPolicyWithInputResponse build()
-
-