Class Album.Builder
java.lang.Object
se.michaelthelin.spotify.model_objects.AbstractModelObject.Builder
se.michaelthelin.spotify.model_objects.specification.Album.Builder
- All Implemented Interfaces:
IModelObject.Builder
- Enclosing class:
Album
Builder class for building
Album instances.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build a model object with the information set in the builder object.setAlbumType(AlbumType albumType) setArtists(ArtistSimplified... artists) setCopyrights(Copyright... copyrights) setExternalIds(ExternalId externalIds) setExternalUrls(ExternalUrl externalUrls) setReleaseDate(String releaseDate) setReleaseDatePrecision(ReleaseDatePrecision releaseDatePrecision) setTotalTracks(Integer totalTracks) setTracks(Paging<TrackSimplified> tracks) setType(ModelObjectType type)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setAlbumType
-
setArtists
-
setCopyrights
-
setExternalIds
-
setExternalUrls
-
setGenres
-
setHref
-
setId
-
setImages
-
setLabel
-
setName
-
setReleaseDate
-
setReleaseDatePrecision
-
setTotalTracks
-
setTracks
-
setType
-
setUri
-
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.
-