Class FeaturedPlaylists.Builder
java.lang.Object
com.wrapper.spotify.model_objects.AbstractModelObject.Builder
com.wrapper.spotify.model_objects.special.FeaturedPlaylists.Builder
- All Implemented Interfaces:
IModelObject.Builder
- Enclosing class:
- FeaturedPlaylists
public static final class FeaturedPlaylists.Builder extends AbstractModelObject.Builder
Builder class for building
FeaturedPlaylists instances.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description FeaturedPlaylistsbuild()Build a model object with the information set in the builder object.FeaturedPlaylists.BuildersetMessage(String message)Set the message, which normally would be displayed on the front page of the "browse" tab.FeaturedPlaylists.BuildersetPlaylists(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.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.
-