public static class FailureDetailsLogInfo.Builder
extends java.lang.Object
FailureDetailsLogInfo
.Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
technicalErrorMessage |
protected java.lang.String |
userFriendlyMessage |
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
Modifier and Type | Method and Description |
---|---|
FailureDetailsLogInfo |
build()
Builds an instance of
FailureDetailsLogInfo configured with
this builder's values |
FailureDetailsLogInfo.Builder |
withTechnicalErrorMessage(java.lang.String technicalErrorMessage)
Set value for optional field.
|
FailureDetailsLogInfo.Builder |
withUserFriendlyMessage(java.lang.String userFriendlyMessage)
Set value for optional field.
|
protected java.lang.String userFriendlyMessage
protected java.lang.String technicalErrorMessage
public FailureDetailsLogInfo.Builder withUserFriendlyMessage(java.lang.String userFriendlyMessage)
userFriendlyMessage
- A user friendly explanation of the error.
Might be missing due to historical data gap.public FailureDetailsLogInfo.Builder withTechnicalErrorMessage(java.lang.String technicalErrorMessage)
technicalErrorMessage
- A technical explanation of the error.
This is relevant for some errors.public FailureDetailsLogInfo build()
FailureDetailsLogInfo
configured with
this builder's valuesFailureDetailsLogInfo