Enum SqlDatabaseBasicStorage

    • Enum Constant Detail

      • MAX_100_MB

        public static final SqlDatabaseBasicStorage MAX_100_MB
        100 MB storage capacity available for the database.
      • MAX_500_MB

        public static final SqlDatabaseBasicStorage MAX_500_MB
        100 MB storage capacity available for the database.
    • Method Detail

      • values

        public static SqlDatabaseBasicStorage[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SqlDatabaseBasicStorage c : SqlDatabaseBasicStorage.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SqlDatabaseBasicStorage valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • capacityInMB

        public long capacityInMB()
        Returns:
        the maximum allowed storage capacity in MB for the SQL Database
      • capacity

        public long capacity()
        Returns:
        the maximum allowed storage capacity in bytes for the SQL Database