Class ExportMetadata.Builder

    • Field Detail

      • name

        protected final java.lang.String name
      • size

        protected final long size
      • exportHash

        protected java.lang.String exportHash
      • paperRevision

        protected java.lang.Long paperRevision
    • Constructor Detail

      • Builder

        protected Builder​(java.lang.String name,
                          long size)
    • Method Detail

      • withExportHash

        public ExportMetadata.Builder withExportHash​(java.lang.String exportHash)
        Set value for optional field.
        Parameters:
        exportHash - A hash based on the exported file content. This field can be used to verify data integrity. Similar to content hash. For more information see our Content hash page. Must have length of at least 64 and have length of at most 64.
        Returns:
        this builder
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.