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 buildingFollowersinstances.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods 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.
-
-
-
Method Detail
-
setHref
public Followers.Builder setHref(String href)
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
public Followers.Builder setTotal(Integer total)
The follower count setter.- Parameters:
total- The total number of followers.- Returns:
- A
Followers.Builder.
-
build
public Followers 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.
-
-