public static final class AlbumSimplifiedSpecial.Builder extends AbstractModelObject.Builder
AlbumSimplifiedSpecial instances.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
AlbumSimplifiedSpecial |
build()
Build a model object with the information set in the builder object.
|
AlbumSimplifiedSpecial.Builder |
setAlbumType(AlbumType albumType)
Set the type of the album to be built.
|
AlbumSimplifiedSpecial.Builder |
setArtists(ArtistSimplified... artists)
Set the artists of the album to be built.
|
AlbumSimplifiedSpecial.Builder |
setAvailableMarkets(com.neovisionaries.i18n.CountryCode... availableMarkets)
Set the available markets of the album to be built.
|
AlbumSimplifiedSpecial.Builder |
setExternalUrls(ExternalUrl externalUrls)
Set external URLs of the album to be built.
|
AlbumSimplifiedSpecial.Builder |
setHref(String href)
Set href of Spotify Web API endpoint of the album to be built.
|
AlbumSimplifiedSpecial.Builder |
setId(String id)
Set album ID of the album to be built.
|
AlbumSimplifiedSpecial.Builder |
setImages(Image... images)
Set the cover art in different sizes of the album to be built.
|
AlbumSimplifiedSpecial.Builder |
setName(String name)
Set the name of the album to be built.
|
AlbumSimplifiedSpecial.Builder |
setReleaseDate(String releaseDate)
Set the release date of the album to be built.
|
AlbumSimplifiedSpecial.Builder |
setReleaseDatePrecision(ReleaseDatePrecision releaseDatePrecision)
Set the release date precision of the album to be built.
|
AlbumSimplifiedSpecial.Builder |
setTotalTracks(Integer totalTracks)
Set the number of total tracks of the album to be built.
|
AlbumSimplifiedSpecial.Builder |
setType(ModelObjectType type)
Set the type of the model object.
|
AlbumSimplifiedSpecial.Builder |
setUri(String uri)
Set the Spotify album URI of the album to be built.
|
public AlbumSimplifiedSpecial.Builder setAlbumType(AlbumType albumType)
albumType - The AlbumType.AlbumSimplifiedSpecial.Builder.public AlbumSimplifiedSpecial.Builder setArtists(ArtistSimplified... artists)
artists - ArtistSimplified objects.AlbumSimplifiedSpecial.Builder.public AlbumSimplifiedSpecial.Builder setAvailableMarkets(com.neovisionaries.i18n.CountryCode... availableMarkets)
availableMarkets -
ISO 3166-1 alpha-2 country codes.AlbumSimplifiedSpecial.Builder.public AlbumSimplifiedSpecial.Builder setExternalUrls(ExternalUrl externalUrls)
externalUrls - ExternalUrl object.AlbumSimplifiedSpecial.Builder.public AlbumSimplifiedSpecial.Builder setHref(String href)
href - Spotify Web API endpoint URL.AlbumSimplifiedSpecial.Builder.public AlbumSimplifiedSpecial.Builder setId(String id)
id - Spotify album ID.Album.Builder.public AlbumSimplifiedSpecial.Builder setImages(Image... images)
images - Image objects.AlbumSimplifiedSpecial.Builder.public AlbumSimplifiedSpecial.Builder setName(String name)
name - The album name.AlbumSimplifiedSpecial.Builder.public AlbumSimplifiedSpecial.Builder setReleaseDate(String releaseDate)
releaseDate - The release date of the album.AlbumSimplifiedSpecial.Builder.public AlbumSimplifiedSpecial.Builder setReleaseDatePrecision(ReleaseDatePrecision releaseDatePrecision)
releaseDatePrecision - The ReleaseDatePrecision of the album.AlbumSimplifiedSpecial.Builder.public AlbumSimplifiedSpecial.Builder setTotalTracks(Integer totalTracks)
totalTracks - The number of total tracks of the album.AlbumSimplifiedSpecial.Builder.public AlbumSimplifiedSpecial.Builder setType(ModelObjectType type)
type - The ModelObjectType.AlbumSimplifiedSpecial.Builder.public AlbumSimplifiedSpecial.Builder setUri(String uri)
uri -
Spotify album URI.AlbumSimplifiedSpecial.Builder.public AlbumSimplifiedSpecial build()
IModelObject.BuilderCopyright © 2020. All rights reserved.