Class Followers.Builder

    • Constructor Summary

      Constructors 
      Constructor Description
      Builder()  
    • Method Summary

      Modifier and Type Method Description
      Followers build()
      Build a model object with the information set in the builder object.
      Followers.Builder setHref​(java.lang.String href)
      The href setter.
      Followers.Builder setTotal​(java.lang.Integer total)
      The follower count setter.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • setHref

        public Followers.Builder setHref​(java.lang.String href)
        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

        public Followers.Builder setTotal​(java.lang.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.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.