Package com.dropbox.core.v2.teamlog
Class FailureDetailsLogInfo.Builder
java.lang.Object
com.dropbox.core.v2.teamlog.FailureDetailsLogInfo.Builder
- Enclosing class:
FailureDetailsLogInfo
Builder for
FailureDetailsLogInfo.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds an instance ofFailureDetailsLogInfoconfigured with this builder's valueswithTechnicalErrorMessage(String technicalErrorMessage) Set value for optional field.withUserFriendlyMessage(String userFriendlyMessage) Set value for optional field.
-
Field Details
-
userFriendlyMessage
-
technicalErrorMessage
-
-
Constructor Details
-
Builder
protected Builder()
-
-
Method Details
-
withUserFriendlyMessage
Set value for optional field.- Parameters:
userFriendlyMessage- A user friendly explanation of the error.- Returns:
- this builder
-
withTechnicalErrorMessage
Set value for optional field.- Parameters:
technicalErrorMessage- A technical explanation of the error. This is relevant for some errors.- Returns:
- this builder
-
build
Builds an instance ofFailureDetailsLogInfoconfigured with this builder's values- Returns:
- new instance of
FailureDetailsLogInfo
-