Class FailureDetailsLogInfo.Builder

java.lang.Object
com.dropbox.core.v2.teamlog.FailureDetailsLogInfo.Builder
Enclosing class:
FailureDetailsLogInfo

public static class FailureDetailsLogInfo.Builder extends Object
  • Field Details

    • userFriendlyMessage

      protected String userFriendlyMessage
    • technicalErrorMessage

      protected String technicalErrorMessage
  • Constructor Details

    • Builder

      protected Builder()
  • Method Details

    • withUserFriendlyMessage

      public FailureDetailsLogInfo.Builder withUserFriendlyMessage(String userFriendlyMessage)
      Set value for optional field.
      Parameters:
      userFriendlyMessage - A user friendly explanation of the error.
      Returns:
      this builder
    • withTechnicalErrorMessage

      public FailureDetailsLogInfo.Builder withTechnicalErrorMessage(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 of FailureDetailsLogInfo configured with this builder's values
      Returns:
      new instance of FailureDetailsLogInfo