Class AuthorizationCodeCredentials.Builder
java.lang.Object
se.michaelthelin.spotify.model_objects.AbstractModelObject.Builder
se.michaelthelin.spotify.model_objects.credentials.AuthorizationCodeCredentials.Builder
- All Implemented Interfaces:
IModelObject.Builder
- Enclosing class:
AuthorizationCodeCredentials
Builder class for building
AuthorizationCodeCredentials instances.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build a model object with the information set in the builder object.setAccessToken(String accessToken) setExpiresIn(Integer expiresIn) setRefreshToken(String refreshToken) setTokenType(String tokenType)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setAccessToken
-
setTokenType
-
setScope
-
setExpiresIn
-
setRefreshToken
-
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.
-