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