Class Copyright.Builder

java.lang.Object
se.michaelthelin.spotify.model_objects.AbstractModelObject.Builder
se.michaelthelin.spotify.model_objects.specification.Copyright.Builder
All Implemented Interfaces:
IModelObject.Builder
Enclosing class:
Copyright

public static final class Copyright.Builder extends AbstractModelObject.Builder
Builder class for building Copyright instances.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • setText

      public Copyright.Builder setText(String text)
      The copyright text setter.
      Parameters:
      text - The copyright text for this album.
      Returns:
      A Copyright.Builder
    • setType

      public Copyright.Builder setType(CopyrightType type)
      The copyright type setter.
      Parameters:
      type - The type of copyright: C = the copyright, P = the sound recording (performance) copyright.
      Returns:
      A Copyright.Builder
    • build

      public Copyright build()
      Description copied from interface: IModelObject.Builder
      Build a model object with the information set in the builder object.
      The type of the model object and its methods depend on its corresponding implementation.
      Returns:
      A model object.