public static final class ShowSimplified.Builder extends AbstractModelObject.Builder
ShowSimplified instances.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ShowSimplified |
build()
Build a model object with the information set in the builder object.
|
ShowSimplified.Builder |
setAvailableMarkets(com.neovisionaries.i18n.CountryCode... availableMarkets)
Set the available markets of the show to be built.
|
ShowSimplified.Builder |
setCopyrights(Copyright... copyrights)
Set the copyrights of the show to be built.
|
ShowSimplified.Builder |
setDescription(String description)
Set the description for the show to be built.
|
ShowSimplified.Builder |
setExplicit(Boolean explicit)
Set whether the show to be built is explicit or not.
|
ShowSimplified.Builder |
setExternallyHosted(Boolean externallyHosted)
Set whether the show to be built is hosted outside of Spotify's CDN.
|
ShowSimplified.Builder |
setExternalUrls(ExternalUrl externalUrls)
Set the external URLs for the show to be built.
|
ShowSimplified.Builder |
setHref(String href)
Set the link to the Web API endpoint providing full details of the show to be built.
|
ShowSimplified.Builder |
setId(String id)
Set the Spotify ID for the show to be built.
|
ShowSimplified.Builder |
setImages(Image... images)
Set the cover art for the show to be built.
|
ShowSimplified.Builder |
setLanguages(String[] languages)
Set a list of the languages used in the show to be built.
|
ShowSimplified.Builder |
setMediaType(String mediaType)
Set the media type of the show.
|
ShowSimplified.Builder |
setName(String name)
Set the name for the show to be built.
|
ShowSimplified.Builder |
setPublisher(String publisher)
Set the publisher for the show to be built.
|
ShowSimplified.Builder |
setType(ModelObjectType type)
Set the type of the model object.
|
ShowSimplified.Builder |
setUri(String uri)
Set the Spotify URI for the show to be built.
|
public ShowSimplified.Builder setAvailableMarkets(com.neovisionaries.i18n.CountryCode... availableMarkets)
availableMarkets - A list of the countries in which the show can be played, identified by their
ISO 3166-1 alpha-2 code.ShowSimplified.Builder.public ShowSimplified.Builder setCopyrights(Copyright... copyrights)
copyrights - Copyright objects.ShowSimplified.Builder.public ShowSimplified.Builder setDescription(String description)
description - The description of the show.ShowSimplified.Builder.public ShowSimplified.Builder setExplicit(Boolean explicit)
explicit - Whether or not the show has explicit content (true = yes it does; false = no it does not OR unknown).ShowSimplified.Builder.public ShowSimplified.Builder setExternalUrls(ExternalUrl externalUrls)
externalUrls - The ExternalUrl for the show object.ShowSimplified.Builder.public ShowSimplified.Builder setHref(String href)
href - The link to the Web API endpoint providing full details of the show.ShowSimplified.Builder.public ShowSimplified.Builder setId(String id)
id - Spotify show ID.ShowSimplified.Builder.public ShowSimplified.Builder setImages(Image... images)
images - Image objects.ShowSimplified.Builder.public ShowSimplified.Builder setExternallyHosted(Boolean externallyHosted)
externallyHosted - True if the show is hosted outside of Spotify’s CDN.ShowSimplified.Builder.public ShowSimplified.Builder setLanguages(String[] languages)
languages - An array of ISO 3166-1 alpha-2 country codes.ShowSimplified.Builder.public ShowSimplified.Builder setMediaType(String mediaType)
mediaType - The media type of the show.ShowSimplified.Builder.public ShowSimplified.Builder setName(String name)
name - The name of the show.ShowSimplified.Builder.public ShowSimplified.Builder setPublisher(String publisher)
publisher - The publisher of the show.ShowSimplified.Builder.public ShowSimplified.Builder setType(ModelObjectType type)
type - The ModelObjectType.ShowSimplified.Builder.public ShowSimplified.Builder setUri(String uri)
uri - The Spotify URI for the show.ShowSimplified.Builder.public ShowSimplified build()
IModelObject.BuilderCopyright © 2020. All rights reserved.