Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
ErrorInfo . |
Modifier and Type | Method and Description |
---|---|
ErrorInfo |
build() |
ErrorInfo.Builder |
setErrorCode(java.lang.Long errorCode)
Error code of the error.
|
ErrorInfo.Builder |
setErrorMessage(java.lang.String errorMessage)
Error message
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
ErrorInfo.Builder |
setTimestamp(java.lang.Long timestamp)
Timestamp when the error occurred format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
public Builder()
ErrorInfo
.public ErrorInfo.Builder setErrorCode(java.lang.Long errorCode)
errorCode
- New value for the property.public ErrorInfo.Builder setErrorMessage(java.lang.String errorMessage)
errorMessage
- New value for the property.public ErrorInfo.Builder setTimestamp(java.lang.Long timestamp)
timestamp
- New value for the property.public ErrorInfo build()