Class BatchServerError.Builder
- java.lang.Object
-
- com.styra.opa.openapi.models.errors.BatchServerError.Builder
-
- Enclosing class:
- BatchServerError
public static final class BatchServerError.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchServerError.Builder
batchDecisionId(java.lang.String batchDecisionId)
BatchServerError.Builder
batchDecisionId(java.util.Optional<java.lang.String> batchDecisionId)
BatchServerError
build()
BatchServerError.Builder
responses(java.util.Map<java.lang.String,ServerError> responses)
BatchServerError.Builder
responses(java.util.Optional<? extends java.util.Map<java.lang.String,ServerError>> responses)
-
-
-
Method Detail
-
batchDecisionId
public BatchServerError.Builder batchDecisionId(java.lang.String batchDecisionId)
-
batchDecisionId
public BatchServerError.Builder batchDecisionId(java.util.Optional<java.lang.String> batchDecisionId)
-
responses
public BatchServerError.Builder responses(java.util.Map<java.lang.String,ServerError> responses)
-
responses
public BatchServerError.Builder responses(java.util.Optional<? extends java.util.Map<java.lang.String,ServerError>> responses)
-
build
public BatchServerError build()
-
-