Class StorageInformation


  • public final class StorageInformation
    extends java.lang.Object
    The class StorageInformation is used to store information about the storage
    • Constructor Detail

      • StorageInformation

        public StorageInformation()
    • Method Detail

      • getUsableSpace

        public long getUsableSpace()
        Returns:
        usableSpace
      • setUsableSpace

        public StorageInformation setUsableSpace​(long usableSpace)
        Parameters:
        usableSpace - the usableSpace of storage
        Returns:
        StorageInformation
      • getOfferId

        public java.lang.String getOfferId()
        Returns:
        the offer ID
      • setOfferId

        public StorageInformation setOfferId​(java.lang.String offerId)
        Parameters:
        offerId - the offer ID
        Returns:
        StorageInformation
      • getNbCopies

        public int getNbCopies()
        Returns:
        the number of copies
      • setNbCopies

        public void setNbCopies​(int nbCopies)
        Sets the number of copies
        Parameters:
        nbCopies - the number of copies