public static class AuthnErrorDetail.Builder extends Object
AuthnErrorDetail
instances.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AuthnErrorDetail |
build()
Build the instance.
|
AuthnErrorDetail.Builder |
code(String code)
Set the error code.
|
AuthnErrorDetail.Builder |
message(String message)
Set the developer-facing error message.
|
AuthnErrorDetail.Builder |
target(String target)
Set the JSON target field.
|
AuthnErrorDetail.Builder |
userMessage(String userMessage)
Directly set the localized user-facing error message.
|
AuthnErrorDetail.Builder |
userMessageKey(String messageKey)
Set the user-facing error message key.
|
public AuthnErrorDetail build()
public AuthnErrorDetail.Builder code(String code)
public AuthnErrorDetail.Builder message(String message)
public AuthnErrorDetail.Builder userMessageKey(String messageKey)
public AuthnErrorDetail.Builder userMessage(String userMessage)
public AuthnErrorDetail.Builder target(String target)
Copyright 2019 Ping Identity Corp. All rights reserved.