Package so.prelude.sdk.errors
Class UnprocessableEntityException.Builder
-
- All Implemented Interfaces:
public final class UnprocessableEntityException.Builder
A builder for UnprocessableEntityException.
-
-
Method Summary
Modifier and Type Method Description final UnprocessableEntityException.Builder
headers(Headers headers)
final UnprocessableEntityException.Builder
body(JsonValue body)
final UnprocessableEntityException.Builder
cause(Throwable cause)
final UnprocessableEntityException.Builder
cause(Optional<Throwable> cause)
Alias for calling Builder.cause with cause.orElse(null)
.final UnprocessableEntityException
build()
Returns an immutable instance of UnprocessableEntityException. -
-
Method Detail
-
headers
final UnprocessableEntityException.Builder headers(Headers headers)
-
body
final UnprocessableEntityException.Builder body(JsonValue body)
-
cause
final UnprocessableEntityException.Builder cause(Throwable cause)
-
cause
final UnprocessableEntityException.Builder cause(Optional<Throwable> cause)
Alias for calling Builder.cause with
cause.orElse(null)
.
-
build
final UnprocessableEntityException build()
Returns an immutable instance of UnprocessableEntityException.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.headers() .body()
-
-
-
-