Class BatchSuccessfulPolicyEvaluation.Builder
- java.lang.Object
-
- com.styra.opa.openapi.models.shared.BatchSuccessfulPolicyEvaluation.Builder
-
- Enclosing class:
- BatchSuccessfulPolicyEvaluation
public static final class BatchSuccessfulPolicyEvaluation.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchSuccessfulPolicyEvaluation.Builder
batchDecisionId(java.lang.String batchDecisionId)
BatchSuccessfulPolicyEvaluation.Builder
batchDecisionId(java.util.Optional<java.lang.String> batchDecisionId)
BatchSuccessfulPolicyEvaluation
build()
BatchSuccessfulPolicyEvaluation.Builder
metrics(java.util.Map<java.lang.String,java.lang.Object> metrics)
If query metrics are enabled, this field contains query performance metrics collected during the parse, compile, and evaluation steps.BatchSuccessfulPolicyEvaluation.Builder
metrics(java.util.Optional<? extends java.util.Map<java.lang.String,java.lang.Object>> metrics)
If query metrics are enabled, this field contains query performance metrics collected during the parse, compile, and evaluation steps.BatchSuccessfulPolicyEvaluation.Builder
responses(java.util.Map<java.lang.String,SuccessfulPolicyResponse> responses)
BatchSuccessfulPolicyEvaluation.Builder
responses(java.util.Optional<? extends java.util.Map<java.lang.String,SuccessfulPolicyResponse>> responses)
-
-
-
Method Detail
-
batchDecisionId
public BatchSuccessfulPolicyEvaluation.Builder batchDecisionId(java.lang.String batchDecisionId)
-
batchDecisionId
public BatchSuccessfulPolicyEvaluation.Builder batchDecisionId(java.util.Optional<java.lang.String> batchDecisionId)
-
metrics
public BatchSuccessfulPolicyEvaluation.Builder metrics(java.util.Map<java.lang.String,java.lang.Object> metrics)
If query metrics are enabled, this field contains query performance metrics collected during the parse, compile, and evaluation steps.
-
metrics
public BatchSuccessfulPolicyEvaluation.Builder metrics(java.util.Optional<? extends java.util.Map<java.lang.String,java.lang.Object>> metrics)
If query metrics are enabled, this field contains query performance metrics collected during the parse, compile, and evaluation steps.
-
responses
public BatchSuccessfulPolicyEvaluation.Builder responses(java.util.Map<java.lang.String,SuccessfulPolicyResponse> responses)
-
responses
public BatchSuccessfulPolicyEvaluation.Builder responses(java.util.Optional<? extends java.util.Map<java.lang.String,SuccessfulPolicyResponse>> responses)
-
build
public BatchSuccessfulPolicyEvaluation build()
-
-