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.ObjectBuilder forFailureDetailsLogInfo.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringtechnicalErrorMessageprotected java.lang.StringuserFriendlyMessage
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FailureDetailsLogInfobuild()Builds an instance ofFailureDetailsLogInfoconfigured with this builder's valuesFailureDetailsLogInfo.BuilderwithTechnicalErrorMessage(java.lang.String technicalErrorMessage)Set value for optional field.FailureDetailsLogInfo.BuilderwithUserFriendlyMessage(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.- 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 ofFailureDetailsLogInfoconfigured with this builder's values- Returns:
- new instance of
FailureDetailsLogInfo
-
-