Class Publisher.Builder

  • Enclosing class:
    Publisher

    public static class Publisher.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public Publisher.Builder id​(String id)
        Unique identifier for the publisher.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • name

        public Publisher.Builder name​(String name)
        The name of the publisher.
        Parameters:
        name - the value to set
        Returns:
        this builder
      • description

        public Publisher.Builder description​(String description)
        A description of the publisher.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • yearFounded

        public Publisher.Builder yearFounded​(Long yearFounded)
        The year the publisher’s company or organization was founded.
        Parameters:
        yearFounded - the value to set
        Returns:
        this builder
      • websiteUrl

        public Publisher.Builder websiteUrl​(String websiteUrl)
        The publisher’s website.
        Parameters:
        websiteUrl - the value to set
        Returns:
        this builder
      • contactEmail

        public Publisher.Builder contactEmail​(String contactEmail)
        The email address of the publisher.
        Parameters:
        contactEmail - the value to set
        Returns:
        this builder
      • contactPhone

        public Publisher.Builder contactPhone​(String contactPhone)
        The phone number of the publisher.
        Parameters:
        contactPhone - the value to set
        Returns:
        this builder
      • hqAddress

        public Publisher.Builder hqAddress​(String hqAddress)
        The address of the publisher’s headquarters.
        Parameters:
        hqAddress - the value to set
        Returns:
        this builder
      • links

        public Publisher.Builder links​(List<Link> links)
        Reference links.
        Parameters:
        links - the value to set
        Returns:
        this builder