Class Release.ReleaseBuilder<C extends Release, B extends Release.ReleaseBuilder<C,B>>

Direct Known Subclasses:
GetReleaseResponse.GetReleaseResponseBuilder
Enclosing class:
Release

public abstract static class Release.ReleaseBuilder<C extends Release, B extends Release.ReleaseBuilder<C,B>> extends ReleaseContentBase.ReleaseContentBaseBuilder<C,B>
  • Constructor Details

    • ReleaseBuilder

      public ReleaseBuilder()
  • Method Details

    • artistsSort

      public B artistsSort(String artistsSort)
      The artist name that is used for sorting this release.
      Returns:
      this.
    • community

      public B community(Community community)
      The associated community information.
      Returns:
      this.
      See Also:
    • companies

      public B companies(List<CatalogEntity> companies)
      The list of companies (i.e., record labels).
      Returns:
      this.
      See Also:
    • country

      public B country(String country)
      The country of release.
      Returns:
      this.
    • extraArtists

      public B extraArtists(List<Artist> extraArtists)
      The list of extra artists.
      Returns:
      this.
    • formatQuantity

      public B formatQuantity(Integer formatQuantity)
      The quantity of formats for the release.
      Returns:
      this.
    • formats

      public B formats(List<Format> formats)
      The list of formats.
      Returns:
      this.
      See Also:
    • identifiers

      public B identifiers(List<ReleaseIdentifier> identifiers)
      The list of release identifiers (e.g., barcodes)
      Returns:
      this.
      See Also:
    • isBlockedFromSale

      public B isBlockedFromSale(Boolean isBlockedFromSale)
      Returns:
      this.
    • isOffensive

      public B isOffensive(Boolean isOffensive)
      Returns:
      this.
    • labels

      public B labels(List<CatalogEntity> labels)
      List of associated labels.
      Returns:
      this.
      See Also:
    • masterId

      public B masterId(Long masterId)
      The associated master identifier.
      Returns:
      this.
    • masterUrl

      public B masterUrl(String masterUrl)
      The associated master URL.
      Returns:
      this.
    • notes

      public B notes(String notes)
      Notes.
      Returns:
      this.
    • released

      public B released(LocalDate released)
      The release date.
      Returns:
      this.
    • releasedFormatted

      public B releasedFormatted(String releasedFormatted)
      The release date formatted as DD Mon yyyy.
      Returns:
      this.
    • series

      public B series(List<CatalogEntity> series)
      List of associated series.
      Returns:
      this.
      See Also:
    • status

      public B status(String status)
      Release entry status.
      Returns:
      this.
    • build

      public abstract C build()
      Specified by:
      build in class ReleaseContentBase.ReleaseContentBaseBuilder<C extends Release, B extends Release.ReleaseBuilder<C,B>>
    • toString

      public String toString()
      Overrides:
      toString in class ReleaseContentBase.ReleaseContentBaseBuilder<C extends Release, B extends Release.ReleaseBuilder<C,B>>