Package com.dropbox.core.v2.teamlog
Class FailureDetailsLogInfo
java.lang.Object
com.dropbox.core.v2.teamlog.FailureDetailsLogInfo
Provides details about a failure
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionProvides details about a failureFailureDetailsLogInfo(String userFriendlyMessage, String technicalErrorMessage) Provides details about a failure -
Method Summary
-
Field Details
-
userFriendlyMessage
-
technicalErrorMessage
-
-
Constructor Details
-
FailureDetailsLogInfo
public FailureDetailsLogInfo(@Nullable String userFriendlyMessage, @Nullable String technicalErrorMessage) Provides details about a failureUse
newBuilder()to create instances of this class without specifying values for all optional fields.- Parameters:
userFriendlyMessage- A user friendly explanation of the error.technicalErrorMessage- A technical explanation of the error. This is relevant for some errors.
-
FailureDetailsLogInfo
public FailureDetailsLogInfo()Provides details about a failureThe default values for unset fields will be used.
-
-
Method Details
-
getUserFriendlyMessage
A user friendly explanation of the error.- Returns:
- value for this field, or
nullif not present.
-
getTechnicalErrorMessage
A technical explanation of the error. This is relevant for some errors.- Returns:
- value for this field, or
nullif not present.
-
newBuilder
Returns a new builder for creating an instance of this class.- Returns:
- builder for this class.
-
hashCode
public int hashCode() -
equals
-
toString
-
toStringMultiline
Returns a String representation of this object formatted for easier readability.The returned String may contain newlines.
- Returns:
- Formatted, multiline String representation of this object
-