Class Followers.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • setHref

      public Followers.Builder setHref(String href)
      The href setter.
      Parameters:
      href - A link to the Web API endpoint providing full details of the followers; null if not available.
      Returns:
      A Followers.Builder.
    • setTotal

      public Followers.Builder setTotal(Integer total)
      The follower count setter.
      Parameters:
      total - The total number of followers.
      Returns:
      A Followers.Builder.
    • build

      public Followers 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.