Class Followers.Builder
java.lang.Object
com.wrapper.spotify.model_objects.AbstractModelObject.Builder
com.wrapper.spotify.model_objects.specification.Followers.Builder
- All Implemented Interfaces:
IModelObject.Builder
- Enclosing class:
- Followers
public static final class Followers.Builder extends AbstractModelObject.Builder
Builder class for building
Followers instances.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description Followersbuild()Build a model object with the information set in the builder object.Followers.BuildersetHref(String href)The href setter.Followers.BuildersetTotal(Integer total)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;nullif 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.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.
-