Class GetSeveralArtistsRequest.Builder
java.lang.Object
se.michaelthelin.spotify.requests.AbstractRequest.Builder<Artist[],GetSeveralArtistsRequest.Builder>
se.michaelthelin.spotify.requests.data.AbstractDataRequest.Builder<Artist[],GetSeveralArtistsRequest.Builder>
se.michaelthelin.spotify.requests.data.artists.GetSeveralArtistsRequest.Builder
- All Implemented Interfaces:
IRequest.Builder<Artist[],
GetSeveralArtistsRequest.Builder>
- Enclosing class:
GetSeveralArtistsRequest
public static final class GetSeveralArtistsRequest.Builder
extends AbstractDataRequest.Builder<Artist[],GetSeveralArtistsRequest.Builder>
Builder class for building a
GetSeveralArtistsRequest
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
The request build method.The artist IDs setter.protected GetSeveralArtistsRequest.Builder
self()
Return this instance to simulate a self-type.Methods inherited from class se.michaelthelin.spotify.requests.AbstractRequest.Builder
setBody, setBodyParameter, setContentType, setDefaults, setHeader, setHost, setHttpManager, setPath, setPathParameter, setPort, setQueryParameter, setScheme
-
Constructor Details
-
Builder
Create a newGetSeveralArtistsRequest.Builder
instance.- Parameters:
accessToken
- Required. A valid access token from the Spotify Accounts service.
-
-
Method Details
-
ids
The artist IDs setter.- Parameters:
ids
- Required. A comma-separated list of the Spotify IDs for the artists. Maximum: 50 IDs.- Returns:
- A
GetSeveralArtistsRequest.Builder
. - See Also:
-
build
The request build method.- Returns:
- A custom
GetSeveralArtistsRequest
.
-
self
Description copied from class:AbstractRequest.Builder
Return this instance to simulate a self-type.- Specified by:
self
in classAbstractRequest.Builder<Artist[],
GetSeveralArtistsRequest.Builder> - Returns:
- This instance.
-