Class SignServiceIntegrationErrorBody.SignServiceIntegrationErrorBodyBuilder
java.lang.Object
se.idsec.signservice.integration.core.error.SignServiceIntegrationErrorBody.SignServiceIntegrationErrorBodyBuilder
- Enclosing class:
- SignServiceIntegrationErrorBody
public static class SignServiceIntegrationErrorBody.SignServiceIntegrationErrorBodyBuilder
extends Object
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
DSS error details.The error code.exceptionClass
(String exceptionClass) The name of the exception class that was thrown for this error.The error message.The requested path.status
(int status) The HTTP status code.timestamp
(long timestamp) The timestamp as milliseconds since epoch.toString()
validationError
(SignServiceIntegrationErrorBody.ValidationError validationError) Validation error details.
-
Method Details
-
status
The HTTP status code.- Returns:
this
.
-
timestamp
public SignServiceIntegrationErrorBody.SignServiceIntegrationErrorBodyBuilder timestamp(long timestamp) The timestamp as milliseconds since epoch.- Returns:
this
.
-
errorCode
public SignServiceIntegrationErrorBody.SignServiceIntegrationErrorBodyBuilder errorCode(String errorCode) The error code.- Returns:
this
.
-
validationError
public SignServiceIntegrationErrorBody.SignServiceIntegrationErrorBodyBuilder validationError(SignServiceIntegrationErrorBody.ValidationError validationError) Validation error details.- Returns:
this
.
-
dssError
public SignServiceIntegrationErrorBody.SignServiceIntegrationErrorBodyBuilder dssError(SignServiceIntegrationErrorBody.DssError dssError) DSS error details.- Returns:
this
.
-
message
public SignServiceIntegrationErrorBody.SignServiceIntegrationErrorBodyBuilder message(String message) The error message.- Returns:
this
.
-
path
The requested path.- Returns:
this
.
-
exceptionClass
public SignServiceIntegrationErrorBody.SignServiceIntegrationErrorBodyBuilder exceptionClass(String exceptionClass) The name of the exception class that was thrown for this error.- Returns:
this
.
-
build
-
toString
-