Class Followers.Builder
java.lang.Object
se.michaelthelin.spotify.model_objects.AbstractModelObject.Builder
se.michaelthelin.spotify.model_objects.specification.Followers.Builder
- All Implemented Interfaces:
IModelObject.Builder
- Enclosing class:
Followers
Builder class for building
Followers
instances.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build a model object with the information set in the builder object.The href setter.The follower count setter.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setHref
The href setter.- Parameters:
href
- A link to the Web API endpoint providing full details of the followers;null
if not available.- Returns:
- A
Followers.Builder
.
-
setTotal
The follower count setter.- Parameters:
total
- The total number of followers.- Returns:
- A
Followers.Builder
.
-
build
Description copied from interface:IModelObject.Builder
Build 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.
-