Class Cursor.Builder
- java.lang.Object
-
- com.wrapper.spotify.model_objects.AbstractModelObject.Builder
-
- com.wrapper.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 buildingCursorinstances.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Cursorbuild()Build a model object with the information set in the builder object.Cursor.BuildersetAfter(String after)The after key setter.
-
-
-
Method Detail
-
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.BuilderBuild 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.
-
-