Class ApiApp.Builder

java.lang.Object
com.dropbox.core.v2.team.ApiApp.Builder
Enclosing class:
ApiApp

public static class ApiApp.Builder extends Object
Builder for ApiApp.
  • Field Details

    • appId

      protected final String appId
    • appName

      protected final String appName
    • isAppFolder

      protected final boolean isAppFolder
    • publisher

      protected String publisher
    • publisherUrl

      protected String publisherUrl
    • linked

      protected Date linked
  • Constructor Details

    • Builder

      protected Builder(String appId, String appName, boolean isAppFolder)
  • Method Details

    • withPublisher

      public ApiApp.Builder withPublisher(String publisher)
      Set value for optional field.
      Parameters:
      publisher - The application publisher name.
      Returns:
      this builder
    • withPublisherUrl

      public ApiApp.Builder withPublisherUrl(String publisherUrl)
      Set value for optional field.
      Parameters:
      publisherUrl - The publisher's URL.
      Returns:
      this builder
    • withLinked

      public ApiApp.Builder withLinked(Date linked)
      Set value for optional field.
      Parameters:
      linked - The time this application was linked.
      Returns:
      this builder
    • build

      public ApiApp build()
      Builds an instance of ApiApp configured with this builder's values
      Returns:
      new instance of ApiApp