Package com.dropbox.core.v2.files
Class ExportInfo.Builder
- java.lang.Object
- 
- com.dropbox.core.v2.files.ExportInfo.Builder
 
- 
- Enclosing class:
- ExportInfo
 
 public static class ExportInfo.Builder extends java.lang.ObjectBuilder forExportInfo.
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.StringexportAsprotected java.util.List<java.lang.String>exportOptions
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedBuilder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ExportInfobuild()Builds an instance ofExportInfoconfigured with this builder's valuesExportInfo.BuilderwithExportAs(java.lang.String exportAs)Set value for optional field.ExportInfo.BuilderwithExportOptions(java.util.List<java.lang.String> exportOptions)Set value for optional field.
 
- 
- 
- 
Method Detail- 
withExportAspublic ExportInfo.Builder withExportAs(java.lang.String exportAs) Set value for optional field.- Parameters:
- exportAs- Format to which the file can be exported to.
- Returns:
- this builder
 
 - 
withExportOptionspublic ExportInfo.Builder withExportOptions(java.util.List<java.lang.String> exportOptions) 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 a- nullitem.
- Returns:
- this builder
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
buildpublic ExportInfo build() Builds an instance ofExportInfoconfigured with this builder's values- Returns:
- new instance of ExportInfo
 
 
- 
 
-