Package com.dropbox.core.v2.files
Class MinimalFileLinkMetadata.Builder
java.lang.Object
com.dropbox.core.v2.files.MinimalFileLinkMetadata.Builder
- Enclosing class:
MinimalFileLinkMetadata
Builder for
MinimalFileLinkMetadata.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds an instance ofMinimalFileLinkMetadataconfigured with this builder's valuesSet value for optional field.Set value for optional field.
-
Field Details
-
url
-
rev
-
id
-
path
-
-
Constructor Details
-
Builder
-
-
Method Details
-
withId
Set value for optional field.- Parameters:
id- Unique identifier for the linked file. Must have length of at least 1.- Returns:
- this builder
- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
withPath
Set value for optional field.- Parameters:
path- Full path in the user's Dropbox. This always starts with a slash. This field will only be present only if the linked file is in the authenticated user's Dropbox.- Returns:
- this builder
-
build
Builds an instance ofMinimalFileLinkMetadataconfigured with this builder's values- Returns:
- new instance of
MinimalFileLinkMetadata
-