Class FeaturedPlaylists.Builder
java.lang.Object
se.michaelthelin.spotify.model_objects.AbstractModelObject.Builder
se.michaelthelin.spotify.model_objects.special.FeaturedPlaylists.Builder
- All Implemented Interfaces:
IModelObject.Builder
- Enclosing class:
FeaturedPlaylists
Builder class for building
FeaturedPlaylists
instances.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build a model object with the information set in the builder object.setMessage
(String message) Set the message, which normally would be displayed on the front page of the "browse" tab.setPlaylists
(Paging<PlaylistSimplified> playlists) Set a page of playlists contained in the featured playlists object to be built.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setMessage
Set the message, which normally would be displayed on the front page of the "browse" tab.- Parameters:
message
- Message to be set.- Returns:
- A
FeaturedPlaylists.Builder
.
-
setPlaylists
Set a page of playlists contained in the featured playlists object to be built.- Parameters:
playlists
- A page of simplified playlists.- Returns:
- A
FeaturedPlaylists.Builder
.
-
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.
-