Class ClientError.Builder
- java.lang.Object
-
- com.styra.opa.openapi.models.errors.ClientError.Builder
-
- Enclosing class:
- ClientError
public static final class ClientError.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClientError
build()
ClientError.Builder
code(java.lang.String code)
ClientError.Builder
errors(java.util.List<Errors> errors)
ClientError.Builder
errors(java.util.Optional<? extends java.util.List<Errors>> errors)
ClientError.Builder
message(java.lang.String message)
-
-
-
Method Detail
-
code
public ClientError.Builder code(java.lang.String code)
-
message
public ClientError.Builder message(java.lang.String message)
-
errors
public ClientError.Builder errors(java.util.List<Errors> errors)
-
errors
public ClientError.Builder errors(java.util.Optional<? extends java.util.List<Errors>> errors)
-
build
public ClientError build()
-
-