Class ElasticPoolPerDatabaseSettings


  • public final class ElasticPoolPerDatabaseSettings
    extends Object
    Per database settings of an elastic pool.
    • Constructor Detail

      • ElasticPoolPerDatabaseSettings

        public ElasticPoolPerDatabaseSettings()
    • Method Detail

      • minCapacity

        public Double minCapacity()
        Get the minCapacity property: The minimum capacity all databases are guaranteed.
        Returns:
        the minCapacity value.
      • withMinCapacity

        public ElasticPoolPerDatabaseSettings withMinCapacity​(Double minCapacity)
        Set the minCapacity property: The minimum capacity all databases are guaranteed.
        Parameters:
        minCapacity - the minCapacity value to set.
        Returns:
        the ElasticPoolPerDatabaseSettings object itself.
      • maxCapacity

        public Double maxCapacity()
        Get the maxCapacity property: The maximum capacity any one database can consume.
        Returns:
        the maxCapacity value.
      • withMaxCapacity

        public ElasticPoolPerDatabaseSettings withMaxCapacity​(Double maxCapacity)
        Set the maxCapacity property: The maximum capacity any one database can consume.
        Parameters:
        maxCapacity - the maxCapacity value to set.
        Returns:
        the ElasticPoolPerDatabaseSettings object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.