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