Class Recommendations.Builder
java.lang.Object
se.michaelthelin.spotify.model_objects.AbstractModelObject.Builder
se.michaelthelin.spotify.model_objects.specification.Recommendations.Builder
- All Implemented Interfaces:
IModelObject.Builder
- Enclosing class:
Recommendations
Builder class for building
Recommendations
instances.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build a model object with the information set in the builder object.setSeeds
(RecommendationsSeed... seeds) The recommendation seeds setter.The recommended tracks setter.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setSeeds
The recommendation seeds setter.- Parameters:
seeds
- An array of recommendation seed objects.- Returns:
- A
Recommendations.Builder
.
-
setTracks
The recommended tracks setter.- Parameters:
tracks
- An array of track objects.- Returns:
- A
Recommendations.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.
-