Class ExportInfo.Builder

  • Enclosing class:
    ExportInfo

    public static class ExportInfo.Builder
    extends java.lang.Object
    Builder for ExportInfo.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String exportAs  
      protected java.util.List<java.lang.String> exportOptions  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Builder()  
    • Field Detail

      • exportAs

        protected java.lang.String exportAs
      • exportOptions

        protected java.util.List<java.lang.String> exportOptions
    • Constructor Detail

      • Builder

        protected Builder()
    • Method Detail

      • withExportAs

        public 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
      • withExportOptions

        public 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 null item.
        Returns:
        this builder
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.