Class BatchMixedResults.Builder
- java.lang.Object
-
- com.styra.opa.openapi.models.shared.BatchMixedResults.Builder
-
- Enclosing class:
- BatchMixedResults
public static final class BatchMixedResults.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchMixedResults.Builder
batchDecisionId(java.lang.String batchDecisionId)
BatchMixedResults.Builder
batchDecisionId(java.util.Optional<java.lang.String> batchDecisionId)
BatchMixedResults
build()
BatchMixedResults.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.BatchMixedResults.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.BatchMixedResults.Builder
responses(java.util.Map<java.lang.String,Responses> responses)
BatchMixedResults.Builder
responses(java.util.Optional<? extends java.util.Map<java.lang.String,Responses>> responses)
-
-
-
Method Detail
-
batchDecisionId
public BatchMixedResults.Builder batchDecisionId(java.lang.String batchDecisionId)
-
batchDecisionId
public BatchMixedResults.Builder batchDecisionId(java.util.Optional<java.lang.String> batchDecisionId)
-
metrics
public BatchMixedResults.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 BatchMixedResults.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 BatchMixedResults.Builder responses(java.util.Map<java.lang.String,Responses> responses)
-
responses
public BatchMixedResults.Builder responses(java.util.Optional<? extends java.util.Map<java.lang.String,Responses>> responses)
-
build
public BatchMixedResults build()
-
-