Class Folder.UpdateFolderBuilder

  • Enclosing class:
    Folder

    public static class Folder.UpdateFolderBuilder
    extends java.lang.Object
    A convenience class for setting up a folder with the appropriate fields for updating the folder.
    • Constructor Detail

      • UpdateFolderBuilder

        public UpdateFolderBuilder()
    • Method Detail

      • setName

        public Folder.UpdateFolderBuilder setName​(java.lang.String name)
        Name.
        Parameters:
        name - the name
        Returns:
        the update folder builder
      • getName

        public java.lang.String getName()
        Gets the name.
        Returns:
        the name
      • getId

        public java.lang.Long getId()
        Gets the folder id.
        Returns:
        the folder id.
      • setId

        public Folder.UpdateFolderBuilder setId​(java.lang.Long id)
        Sets the folder id.
        Parameters:
        id - the id of the folder.
        Returns:
        the builder
      • build

        public Folder build()
        Builds the folder.
        Returns:
        the folder