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