Class ElasticPoolEditionCapability


  • public final class ElasticPoolEditionCapability
    extends Object
    The elastic pool edition capability.
    • Constructor Detail

      • ElasticPoolEditionCapability

        public ElasticPoolEditionCapability()
    • Method Detail

      • name

        public String name()
        Get the name property: The elastic pool edition name.
        Returns:
        the name value.
      • supportedElasticPoolPerformanceLevels

        public List<ElasticPoolPerformanceLevelCapability> supportedElasticPoolPerformanceLevels()
        Get the supportedElasticPoolPerformanceLevels property: The list of supported elastic pool DTU levels for the edition.
        Returns:
        the supportedElasticPoolPerformanceLevels value.
      • zoneRedundant

        public Boolean zoneRedundant()
        Get the zoneRedundant property: Whether or not zone redundancy is supported for the edition.
        Returns:
        the zoneRedundant value.
      • status

        public CapabilityStatus status()
        Get the status property: The status of the capability.
        Returns:
        the status value.
      • reason

        public String reason()
        Get the reason property: The reason for the capability not being available.
        Returns:
        the reason value.
      • withReason

        public ElasticPoolEditionCapability withReason​(String reason)
        Set the reason property: The reason for the capability not being available.
        Parameters:
        reason - the reason value to set.
        Returns:
        the ElasticPoolEditionCapability object itself.
      • validate

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