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