Class SavedAlbum.Builder

    • Constructor Summary

      Constructors 
      Constructor Description
      Builder()  
    • Method Summary

      Modifier and Type Method Description
      SavedAlbum build()
      Build a model object with the information set in the builder object.
      SavedAlbum.Builder setAddedAt​(java.util.Date addedAt)
      Set the "added at" date of the saved album to be built.
      SavedAlbum.Builder setAlbum​(Album album)
      Set the full album object of the saved album to be built.
      • 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

      • setAddedAt

        public SavedAlbum.Builder setAddedAt​(java.util.Date addedAt)
        Set the "added at" date of the saved album to be built.
        Parameters:
        addedAt - The date and time the album was saved.
        Returns:
        A SavedAlbum.Builder.
      • build

        public SavedAlbum 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.