Package com.dropbox.core.v2.teamlog
Class FailureDetailsLogInfo.Builder
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.FailureDetailsLogInfo.Builder
-
- Enclosing class:
- FailureDetailsLogInfo
public static class FailureDetailsLogInfo.Builder extends java.lang.Object
Builder forFailureDetailsLogInfo
.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
technicalErrorMessage
protected java.lang.String
userFriendlyMessage
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FailureDetailsLogInfo
build()
Builds an instance ofFailureDetailsLogInfo
configured with this builder's valuesFailureDetailsLogInfo.Builder
withTechnicalErrorMessage(java.lang.String technicalErrorMessage)
Set value for optional field.FailureDetailsLogInfo.Builder
withUserFriendlyMessage(java.lang.String userFriendlyMessage)
Set value for optional field.
-
-
-
Method Detail
-
withUserFriendlyMessage
public FailureDetailsLogInfo.Builder withUserFriendlyMessage(java.lang.String userFriendlyMessage)
Set value for optional field.- Parameters:
userFriendlyMessage
- A user friendly explanation of the error. Might be missing due to historical data gap.- Returns:
- this builder
-
withTechnicalErrorMessage
public FailureDetailsLogInfo.Builder withTechnicalErrorMessage(java.lang.String technicalErrorMessage)
Set value for optional field.- Parameters:
technicalErrorMessage
- A technical explanation of the error. This is relevant for some errors.- Returns:
- this builder
-
build
public FailureDetailsLogInfo build()
Builds an instance ofFailureDetailsLogInfo
configured with this builder's values- Returns:
- new instance of
FailureDetailsLogInfo
-
-