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