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

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

    • Builder

      public Builder()
  • Method Details

    • setAfter

      public Cursor.Builder setAfter(String after)
      The after key setter.
      Parameters:
      after - The cursor to use as key to find the next page of items.
      Returns:
      A Cursor.Builder.
    • build

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