Class DownloadInformation.DownloadInformationBuilder<C extends DownloadInformation, B extends DownloadInformation.DownloadInformationBuilder<C,B>>

java.lang.Object
com.amilesend.discogs.model.inventory.type.DownloadInformation.DownloadInformationBuilder<C,B>
Direct Known Subclasses:
DownloadInventoryExportResponse.DownloadInventoryExportResponseBuilder
Enclosing class:
DownloadInformation

public abstract static class DownloadInformation.DownloadInformationBuilder<C extends DownloadInformation, B extends DownloadInformation.DownloadInformationBuilder<C,B>> extends Object
  • Constructor Details

    • DownloadInformationBuilder

      public DownloadInformationBuilder()
  • Method Details

    • fileName

      public B fileName(String fileName)
      The filename of the file.
      Returns:
      this.
    • sizeBytes

      public B sizeBytes(long sizeBytes)
      The file size in bytes.
      Returns:
      this.
    • downloadedBytes

      public B downloadedBytes(long downloadedBytes)
      The amount of bytes actually downloaded.
      Returns:
      this.
    • downloadPath

      public B downloadPath(Path downloadPath)
      The Path to the downloaded file.
      Returns:
      this.
    • build

      public abstract C build()
    • toString

      public String toString()
      Overrides:
      toString in class Object