Package com.dropbox.core.v2.files
Class ExportInfo.Builder
java.lang.Object
com.dropbox.core.v2.files.ExportInfo.Builder
- Enclosing class:
ExportInfo
Builder for
ExportInfo.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds an instance ofExportInfoconfigured with this builder's valueswithExportAs(String exportAs) Set value for optional field.withExportOptions(List<String> exportOptions) Set value for optional field.
-
Field Details
-
exportAs
-
exportOptions
-
-
Constructor Details
-
Builder
protected Builder()
-
-
Method Details
-
withExportAs
Set value for optional field.- Parameters:
exportAs- Format to which the file can be exported to.- Returns:
- this builder
-
withExportOptions
Set value for optional field.- Parameters:
exportOptions- Additional formats to which the file can be exported. These values can be specified as the export_format in /files/export. Must not contain anullitem.- Returns:
- this builder
- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
build
Builds an instance ofExportInfoconfigured with this builder's values- Returns:
- new instance of
ExportInfo
-