Package com.dropbox.core.v2.team
Class ApiApp.Builder
- java.lang.Object
-
- com.dropbox.core.v2.team.ApiApp.Builder
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
appId
protected java.lang.String
appName
protected boolean
isAppFolder
protected java.util.Date
linked
protected java.lang.String
publisher
protected java.lang.String
publisherUrl
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder(java.lang.String appId, java.lang.String appName, boolean isAppFolder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiApp
build()
Builds an instance ofApiApp
configured with this builder's valuesApiApp.Builder
withLinked(java.util.Date linked)
Set value for optional field.ApiApp.Builder
withPublisher(java.lang.String publisher)
Set value for optional field.ApiApp.Builder
withPublisherUrl(java.lang.String publisherUrl)
Set value for optional field.
-
-
-
Method Detail
-
withPublisher
public ApiApp.Builder withPublisher(java.lang.String publisher)
Set value for optional field.- Parameters:
publisher
- The application publisher name.- Returns:
- this builder
-
withPublisherUrl
public ApiApp.Builder withPublisherUrl(java.lang.String publisherUrl)
Set value for optional field.- Parameters:
publisherUrl
- The publisher's URL.- Returns:
- this builder
-
withLinked
public ApiApp.Builder withLinked(java.util.Date linked)
Set value for optional field.- Parameters:
linked
- The time this application was linked.- Returns:
- this builder
-
-