public static class AuthnErrorSpec.Builder extends Object
AuthnErrorSpec
specs.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AuthnErrorSpec |
build()
Build the spec.
|
AuthnErrorSpec.Builder |
code(String code)
Set the error code.
|
AuthnErrorSpec.Builder |
httpStatus(int status)
Set the HTTP status code.
|
AuthnErrorSpec.Builder |
message(String message)
Set the developer-facing error message.
|
AuthnErrorSpec.Builder |
userMessageKey(String messageKey)
Set the user-facing error message key.
|
public AuthnErrorSpec build()
public AuthnErrorSpec.Builder httpStatus(int status)
public AuthnErrorSpec.Builder code(String code)
public AuthnErrorSpec.Builder message(String message)
public AuthnErrorSpec.Builder userMessageKey(String messageKey)
Copyright 2019 Ping Identity Corp. All rights reserved.