Package com.lithic.api.errors
Class UnprocessableEntityException.Builder
-
- All Implemented Interfaces:
public final class UnprocessableEntityException.BuilderA builder for UnprocessableEntityException.
-
-
Method Summary
Modifier and Type Method Description final UnprocessableEntityException.Builderheaders(Headers headers)final UnprocessableEntityException.Builderbody(JsonValue body)final UnprocessableEntityException.Buildercause(Throwable cause)final UnprocessableEntityException.Buildercause(Optional<Throwable> cause)Alias for calling Builder.cause with cause.orElse(null).final UnprocessableEntityExceptionbuild()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()
-
-
-
-